小编use*_*165的帖子

pip3 install PyQt5 --user 失败

尝试通过 pip3 安装 PyQt5 时出现错误。自动消息要我添加更多细节,但我没有。所有细节都在代码中。

?  ~ pip3 install PyQt5 --user 
Collecting PyQt5
  Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f2c97cfeb50>: Failed to establish a new connection: [Er
rno -2] Name or service not known')': /simple/pyqt5/
  Using cached https://files.pythonhosted.org/packages/3a/fb/eb51731f2dc7c22d8e1a63ba88fb702727b324c6352183a32f27f73b8116/PyQt5-5.14.1.tar.gz
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... error
    Complete output from command /usr/bin/python3 /usr/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py prepare_metadata_for_build_wheel /tmp/tmp3yjy_ooq:
    Traceback (most recent call last):
      File "/usr/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py", line 64, in …
Run Code Online (Sandbox Code Playgroud)

python pip pyqt python-sip pyqt5

4
推荐指数
1
解决办法
9307
查看次数

标签 统计

pip ×1

pyqt ×1

pyqt5 ×1

python ×1

python-sip ×1