Je dois installer le package Shapely ( http://toblerity.org/shapely/project.html#installation ). Mais quand j'utilise:
pip install Shapely
Je reçois cette erreur:
Collecting Shapely
Using cached Shapely-1.5.17.tar.gz
Complete output from command python setup.py Egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\AppData\Local\Temp\pip-build-mwuxcain\Shapely\setup.py", line 38, in <module>
from shapely._buildcfg import geos_version_string, geos_version, \
File "C:\Users\AppData\Local\Temp\pip-build-mwuxcain\Shapely\shapely\_buildcfg.py", line 200, in <module>
lgeos = CDLL("geos.dll")
File "C:\Users\Anaconda3\lib\ctypes\__init__.py", line 344, in __init__
self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] The specified module could not be found
----------------------------------------
Command "python setup.py Egg_info" failed with error code 1 in C:\Users\AppData\Local\Temp\pip-build-mwuxcain\Shapely\
Et, lorsque j'utilise:
conda install shapely
Je reçois cette erreur:
Fetching package metadata ...........
PackageNotFoundError: Package not found: Conda could not find '
J'utilise Python 3.6.0 (Anaconda3) sur Windows 10 (64 bits).
Veuillez aider. (rien ne fonctionne)
Téléchargez le fichier WHL en utilisant http://www.lfd.uci.edu/~gohlke/pythonlibs/#shapely
Installer:
python -m pip install Shapely-1.5.17-cp36-cp36m-win_AMD64.whl
Ubuntu:
pip install shapely==1.6b2