python安装依赖失败_python - pip安装jq依赖关系失败 - SO中文参考 - www.soinside.com

这是我在stackoverflow上的第一个问题。我成功地安装了其他需要的包,如箭头,但我无法安装。jq. https:/pypi.orgprojectjq。

我尝试安装 jq 在Win10上使用此命令(有代理限制,python 3.7.7)。(project) C:\project>pip --proxy=https://xxx:8080 install jq

输出:Collecting jq

Using cached jq-1.0.1.tar.gz (59 kB)

Installing build dependencies ... error

ERROR: Command errored out with exit status 1:

command: 'c:\venv\project\scripts\python.exe' 'c:\venv\project\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Us

ers\user1\AppData\Local\Temp\pip-build-env-zaiv6qw7\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=43' wheel requ

ests certifi

cwd: None

Complete output (7 lines):

WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('

ection object at 0x000002B85F072E48>: Failed to establish a new connection: [Errno 11002] getaddrinfo failed')': /simple/setuptools/

WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('

ection object at 0x000002B85F07DBC8>: Failed to establish a new connection: [Errno 11002] getaddrinfo failed')': /simple/setuptools/

WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('

ection object at 0x000002B85F07C5C8>: Failed to establish a new connection: [Errno 11002] getaddrinfo failed')': /simple/setuptools/

WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('

ection object at 0x000002B85F07C3C8>: Failed to establish a new connection: [Errno 11002] getaddrinfo failed')': /simple/setuptools/

WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('

ection object at 0x000002B85F081648>: Failed to establish a new connection: [Errno 11002] getaddrinfo failed')': /simple/setuptools/

ERROR: Could not find a version that satisfies the requirement setuptools>=43 (from versions: none)

ERROR: No matching distribution found for setuptools>=43

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

ERROR: Command errored out with exit status 1: 'c:\venv\scripts\python.exe' 'c:\venv\project\lib\site-packages\pip' install --ignore-

installed --no-user --prefix 'C:\Users\user1\AppData\Local\Temp\pip-build-env-zaiv6qw7\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/si

mple -- 'setuptools>=43' wheel requests certifi Check the logs for full command output.

我也把pip和setuptools升级到了47.3.0版本 有谁能给我个提示,有什么办法可以解决我的问题?非常感谢您。

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值