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

image.png








相关文章
|
3月前
|
异构计算 Python
ERROR: pip’s dependency resolver does not currently take into 报错-Python项目依赖冲突的解决方案-优雅草优雅草卓伊凡
ERROR: pip’s dependency resolver does not currently take into 报错-Python项目依赖冲突的解决方案-优雅草优雅草卓伊凡
354 1
|
3月前
|
人工智能 Shell Python
ERROR: pip’s dependency resolver does not currently take into 报错-Python项目依赖冲突的解决方案-优雅草优雅草卓伊凡
ERROR: pip’s dependency resolver does not currently take into 报错-Python项目依赖冲突的解决方案-优雅草优雅草卓伊凡
239 0
|
8月前
|
存储 监控 API
【Azure App Service】分享使用Python Code获取App Service的服务器日志记录管理配置信息
本文介绍了如何通过Python代码获取App Service中“Web服务器日志记录”的配置状态。借助`azure-mgmt-web` SDK,可通过初始化`WebSiteManagementClient`对象、调用`get_configuration`方法来查看`http_logging_enabled`的值,从而判断日志记录是否启用及存储方式(关闭、存储或文件系统)。示例代码详细展示了实现步骤,并附有执行结果与官方文档参考链接,帮助开发者快速定位和解决问题。
259 22
|
12月前
|
数据采集 网络安全 Python
【Python】怎么解决:urllib.error.HTTPError: HTTP Error 403: Forbidden
解决 `urllib.error.HTTPError: HTTP Error 403: Forbidden`错误需要根据具体情况进行不同的尝试。通过检查URL、模拟浏览器请求、使用代理服务器和Cookies、减慢请求速度、使用随机的User-Agent以及使用更加方便的 `requests`库,可以有效解决此类问题。通过逐步分析和调试,可以找到最合适的解决方案。
874 18
|
数据采集 数据安全/隐私保护 Python
【Python】已解决:urllib.error.HTTPError: HTTP Error 403: Forbidden
通过上述方法,可以有效解决 `urllib.error.HTTPError: HTTP Error 403: Forbidden` 错误。具体选择哪种方法取决于服务器对请求的限制。通常情况下,添加用户代理和模拟浏览器请求是最常见且有效的解决方案。
692 10
|
JSON 并行计算 数据格式
Python Error 汇总
本文汇总了Python编程中常见的错误及其解决办法,包括导入错误、类型错误、运行时错误等,并提供了详细的解决方案。
987 0
Python Error 汇总
|
并行计算 Python
Python错误笔记(一):CUDA initialization: CUDA unknown error - this may be due to an incorrectly set up env
这篇文章讨论了CUDA初始化时出现的未知错误及其解决方案,包括重启系统和安装nvidia-modprobe。
1735 0
|
缓存 Python
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-npf9报错
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-npf9报错
|
3月前
|
数据采集 机器学习/深度学习 人工智能
Python:现代编程的首选语言
Python:现代编程的首选语言
308 102
|
3月前
|
数据采集 机器学习/深度学习 算法框架/工具
Python:现代编程的瑞士军刀
Python:现代编程的瑞士军刀
338 104

推荐镜像

更多