pip安装pyqt5时,在preparing metadata卡住一直不动

pip安装pyqt5时,在preparing metadata卡住一直不动
pip install pyqt5==5.14.1 -i https://pypi.tuna.tsinghua.edu.cn/simple
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting pyqt5==5.14.1
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/3a/fb/eb51731f2dc7c22d8e1a63ba88fb702727b324c6352183a32f27f73b8116/PyQt5-5.14.1.tar.gz (3.2 MB)
3.2/3.2 MB 1.5 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... |

pyqt5支持到python3.9,你是不是用的3.10

同样的问题,升级pip就好了

我也出现这个问题 请问就是一直等着吗?

我这边是内存一直变大,然后就崩了(内存较小,只有2GB)

我在本机装不上去,然后在pycharm中的虚拟环境中装了,很快就好了

https://zhuanlan.zhihu.com/p/497492385?utm_id=0

这个步骤确实时间比较长,需要下载一堆东西。建议你出去溜达溜达,回来说不准就好了