Shapely Import problem Related to MAC OS X
I installed shapely using sudo apt-get install python-shapely.
I am using Python 2.7.8 |Anaconda 2.1.0 (64-bit)| with ubuntu 14.04 LTS (64 bit)
After successful installation, when I try to import it from ipython it gives me an import error. ImportError: No module named shapely
How do I fix this?
That happens because apt-get installs packages to the system default python, under /usr/python2.7/lib/site-packages. Anaconda has its own package manager, conda, which you might want to use in your case. conda install shapely should do the trick.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With