[closed]Installation error after running conda env update


#1

Hi, I followed the following steps to install library

  • Normal installation
  • Download project: git clone https://github.com/fastai/fastai.git
  • Move into root folder: cd fastai
  • Set up Python environment: conda env update step of installing fastai library,

But I got the following error message after running conda env update. I tried pip install --upgrade setuptools, but it still generates the following error message.

Collecting shapely (from geopandas>=0.3.0->plotnine->-r C:\Users\shuxi\fastai\condaenv.xnozmcqr.requirements.txt (line 9))
Using cached https://files.pythonhosted.org/packages/a2/fb/7a7af9ef7a35d16fa23b127abee272cfc483ca89029b73e92e93cdf36e6b/Shapely-1.6.4.post2.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File “”, line 1, in
File “C:\Users\shuxi\AppData\Local\Temp\pip-install-2dzeqo5s\shapely\setup.py”, line 80, in
from shapely.buildcfg import geos_version_string, geos_version,
File “C:\Users\shuxi\AppData\Local\Temp\pip-install-2dzeqo5s\shapely\shapely_buildcfg.py”, line 200, in
lgeos = CDLL(“geos_c.dll”)
File "C:\Users\shuxi\Anaconda3\envs\fastai\lib\ctypes_init
.py", line 348, 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\shuxi\AppData\Local\Temp\pip-install-2dzeqo5s\shapely\

CondaValueError: pip returned an error


(hepy) #2

I got the same problem, did you fix it?


#3

Same here! Also looking for a solution


(Pavel) #5

I have the same problem :frowning: trying install fastai in cpu mode on win 7 - 64 bit