python - 无法安装 pyqt5-tools - '找不到满足 pyqt5-tools 要求的版本'
问题描述
我尝试像这样安装 pyqt5-tools:
pip install pyqt5-tools
结果是:
ERROR: Could not find a version that satisfies the requirement pyqt5-tools (from versions: none)
ERROR: No matching distribution found for pyqt5-tools
我需要下载 pyqt5-tools 因为我正在尝试学习如何使用 PyQt 制作 GUI(我是一名初学者程序员)。
我试过下载不同的包,但任何与 PyQt 相关的东西都失败了……它发生在我的 Mac 和 Ubuntu 机器上。
我检查了这些软件包在 PyPI 上是否可用,并将安装命令从网站复制粘贴到终端中,以确保我没有做错。
解决方案
假设您正在为 qtdesigner 安装它。您可以通过包管理器安装它。我已经在我的 Debian 机器上安装了它
sudo apt install pyqt5-dev-tools pyqt5-dev
你可以在
/usr/lib/x86_64-linux-gnu/qt5/bin/designer
推荐阅读
- angular - Angular 网站在 GitHub Pages 中发布后损坏,但可以在本地运行
- javascript - 即使链接不同,jQuery 和 CDN 也会显示为相同的图像
- php - PHP number_format not working as expected
- html - 我无法在 Visual Studio 上安装 Live Server 扩展,并且它不会出现在 VS 内的市场搜索中
- ruby-on-rails - 没有路由匹配 {:action=>"show", :controller=>"conversations", :recipient_id=>2, :sender_id=>1},缺少必需的键:[:id]
- path - symstore.exe 索引符号时抛出错误代码 122
- angular - 如何动态生成组件
- postgresql - bt_page_stats 中的 avg_item_size 是什么?
- javascript - 使用 svelte 或 react 在 cdn 上的三个.js
- r - 在 R 中绘制平面:PCA