天天看點

成功解決Command "python setup.py egg_info" failed with error code 1 in C:\Users\AppData\

解決問題

Command "python setup.py egg_info" failed with error code 1 in C:\Users\99386\AppData\Local\Temp\pip-req-build-6v9mt9io\

Processing f:\program files\python\basemap-1.0.7.tar.gz

   Complete output from command python setup.py egg_info:

   Can't find geos library . Please set the

   environment variable GEOS_DIR to point to the location

   where geos is installed (for example, if geos_c.h

   is in /usr/local/include, and libgeos_c is in /usr/local/lib,

   set GEOS_DIR to /usr/local), or edit the setup.py script

   manually and set the variable GEOS_dir (right after the line

   that says "set GEOS_dir manually here".

   checking for GEOS lib in C:\Users\99386 ....

   checking for GEOS lib in /usr ....

   checking for GEOS lib in /usr/local ....

   checking for GEOS lib in /sw ....

   checking for GEOS lib in /opt ....

   checking for GEOS lib in /opt/local ....

   ----------------------------------------

解決方法

更改為whl檔案

PS:部落客真心感覺這句話很明了的,鑒于網友留言不明白,再解釋一下。

就是利用pip工具,下載下傳對應的whl檔案即可!下邊網友的留言,了解的正确。

成功解決Command "python setup.py egg_info" failed with error code 1 in C:\Users\AppData\