使用国内镜像安装pyqt5
pip install PyQt5 -i https://pypi.douban.com/simple
pip install PyQt5-tools -i https://pypi.douban.com/simple
1、pip 安装 pyqt5和pyqt5-tools
pip install pyqt5
pip install pyqt5-tools
2.新装电脑时感觉pip安装pyqt5和pyqt5-tools速度非常慢,推荐大家使用国内镜像源来进行安装。
目前国内比较好用的pypi源有:
http://mirrors.aliyun.com/pypi/simple/ 阿里云
http://pypi.douban.com/simple/ 豆瓣
https://pypi.mirrors.ustc.edu.cn/simple/ 中国科技大学
http://pypi.mirrors.opencas.cn/simple/ 中科院
https://pypi.tuna.tsinghua.edu.cn/simple/ 清华大学
3、使用国内pypi源安装(以豆瓣为例)
pip install pyqt5 -i http://pypi.douban.com/simple/
pip install pyqt5-tools -i http://pypi.douban.com/simple/
【推荐】还在用 ECharts 开发大屏?试试这款永久免费的开源 BI 工具!
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步