Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ctypes issue after importing fiona #18

Open
tleeuwenburg opened this issue Jan 21, 2016 · 0 comments
Open

Ctypes issue after importing fiona #18

tleeuwenburg opened this issue Jan 21, 2016 · 0 comments

Comments

@tleeuwenburg
Copy link

Platform: OSX 10.11.3 (latest as of 22 Jan 2016)

Simple bash script to reproduce.

conda create -p ./env shapely
source activate env/
pip install fiona
echo "1: Works"
python -c "from shapely.geometry import Point, shape, LineString, mapping"

echo "2: Broken"
python -c "import fiona; from shapely.geometry import mapping"

echo "3: Works again (but prints debug message)"
python -c "import ctypes; ctypes.CDLL('/opt/local/lib/libgeos_c.dylib'); import fiona; from shapely.geometry import mapping"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant