成功解决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文件


猜你喜欢

转载自blog.csdn.net/qq_41185868/article/details/81041358