我一直在尝试在虚拟环境中的 Windows 10 下安装 SIP 和 PyQt4 + SIP 一段时间(旧项目是在 PyQt4 中完成的)。我从 PyCharm 开始使用包管理器。我也试过命令行。
C:\Users\jspada>pip install SIP
Collecting SIP
Could not find a version that satisfies the requirement SIP (from versions: )
No matching distribution found for SIP
C:\Users\jspada>pip install PyQt4
Collecting PyQt4
Could not find a version that satisfies the requirement PyQt4 (from versions: )
No matching distribution found for PyQt4
这是因为没有针对 SIP 和 PyQt4 的构建吗?PyQt4 可能是因为它有点旧,但我认为 SIP 会起作用。