成功解决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\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 ....

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

 

 

 

解决方法

 

更改为whl文件
PS:博主真心感觉这句话很明了的,鉴于网友留言不明白,再解释一下。

就是利用pip工具,下载对应的whl文件即可!下边网友的留言,理解的正确。

 

 

 

 

 

 

 

你可能感兴趣的:(Computer,knowledge)