5

I cant install the shapely module in my anaconda prompt.

pip install --upgrade setuptools

pip install shapely 


        Command "python setup.py egg_info" failed with error code 1 in C:\Users\renau\AppData\Local\Temp\pip-install-27xf59zz\shapely\

Any solutions?

2

3 Answers 3

9

If you are using Anaconda, then it would probably be best to use:

conda install shapely

Sign up to request clarification or add additional context in comments.

Comments

4

i guess you are using Windows ? if so, you can't install shapely directly via pip

here's the steps:

  1. go to this site and download desired version of shapely
  2. run this script pip install Shapely‑1.6.4.post1‑cp36‑cp36m‑win_amd64.whl

here i'm going to install Shapely version 1.6.4 for python 3.6 running in Windows 64bit

Comments

3
sudo apt-get install python-shapely

on Python 3

sudo apt-get install python3-shapely

1 Comment

thanks for this answer:) could you explain why does it work?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.