分享

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

 处女座的程序猿 2021-09-28

成功解决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文件即可!下边网友的留言,理解的正确。

    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多