[MacPorts] #58718: py37-geopandas: Does run
MacPorts
noreply at macports.org
Sat Jul 13 18:22:36 UTC 2019
#58718: py37-geopandas: Does run
--------------------+--------------------------
Reporter: mf2k | Owner: stromnov
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: py-geopandas
--------------------+--------------------------
py-geopandas does not seem to be working.
{{{
$ ipython
Python 3.7.4 (default, Jul 11 2019, 01:08:00)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.6.1 -- An enhanced Interactive Python. Type '?' for help.
In [1]: import geopandas
---------------------------------------------------------------------------
ImportError Traceback (most recent call
last)
<ipython-input-1-fc7d1d298f0c> in <module>
----> 1 import geopandas
/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
/site-packages/geopandas/__init__.py in <module>
3 from geopandas.geodataframe import points_from_xy
4
----> 5 from geopandas.io.file import read_file
6 from geopandas.io.sql import read_postgis
7 from geopandas.tools import sjoin
/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
/site-packages/geopandas/io/file.py in <module>
2 from distutils.version import LooseVersion
3
----> 4 import fiona
5 import numpy as np
6
/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
/site-packages/fiona/__init__.py in <module>
81 os.environ["PATH"] = os.environ["PATH"] + ";" + libdir
82
---> 83 from fiona.collection import BytesCollection, Collection
84 from fiona.drvsupport import supported_drivers
85 from fiona.env import ensure_env_with_credentials, Env
/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
/site-packages/fiona/collection.py in <module>
7
8 from fiona import compat, vfs
----> 9 from fiona.ogrext import Iterator, ItemsIterator, KeysIterator
10 from fiona.ogrext import Session, WritingSession
11 from fiona.ogrext import buffer_to_virtual_file,
remove_virtual_file, GEOMETRY_TYPES
ImportError:
dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
/site-packages/fiona/ogrext.cpython-37m-darwin.so, 2): Symbol not found:
_GEOSArea
Referenced from: /opt/local/lib/libspatialite.7.dylib
Expected in: flat namespace
in /opt/local/lib/libspatialite.7.dylib
}}}
--
Ticket URL: <https://trac.macports.org/ticket/58718>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list