Ubuntu, Anaconda: Cannot import python shapely package
Question: [Shapely Import problem Related to MAC OS
X](http://stackoverflow.com/questions/25761682/python-cant-import-shapely)

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?


Answer: 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`](http://conda.pydata.org/docs/intro.html), which you might
want to use in your case. `conda install shapely` should do the trick.

