pip 安装 jq 依赖失败
pip failed installing jq dependency
这是我关于 Whosebug 的第一个问题。我设法安装了其他需要的包,比如 arrow,但我无法安装 jq
。 https://pypi.org/project/jq/
我尝试使用以下命令在 Win10(有代理限制,python 3.7.7)上安装 jq
:
(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('<pip._vendor.urllib3.connection.VerifiedHTTPSConn
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('<pip._vendor.urllib3.connection.VerifiedHTTPSConn
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('<pip._vendor.urllib3.connection.VerifiedHTTPSConn
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('<pip._vendor.urllib3.connection.VerifiedHTTPSConn
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('<pip._vendor.urllib3.connection.VerifiedHTTPSConn
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版本
谁能给我一个提示,我的问题的解决方案是什么?非常感谢。
尝试升级您的设置工具和 pip 版本。
python -m pip --proxy=https://xxx:8080 install --upgrade pip setuptools jq
看看
难道你需要一个 https 代理?您可以通过 运行 详细模式下的命令获得有关根本原因的更多信息。
pip -v --proxy=https://xxx:8080 install jq
这是我关于 Whosebug 的第一个问题。我设法安装了其他需要的包,比如 arrow,但我无法安装 jq
。 https://pypi.org/project/jq/
我尝试使用以下命令在 Win10(有代理限制,python 3.7.7)上安装 jq
:
(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('<pip._vendor.urllib3.connection.VerifiedHTTPSConn
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('<pip._vendor.urllib3.connection.VerifiedHTTPSConn
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('<pip._vendor.urllib3.connection.VerifiedHTTPSConn
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('<pip._vendor.urllib3.connection.VerifiedHTTPSConn
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('<pip._vendor.urllib3.connection.VerifiedHTTPSConn
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版本 谁能给我一个提示,我的问题的解决方案是什么?非常感谢。
尝试升级您的设置工具和 pip 版本。
python -m pip --proxy=https://xxx:8080 install --upgrade pip setuptools jq
看看
难道你需要一个 https 代理?您可以通过 运行 详细模式下的命令获得有关根本原因的更多信息。
pip -v --proxy=https://xxx:8080 install jq