我一直试图在安装了PySide2
的PC (Windows 10 64bits
)上安装Python 3.8
,但每次都会出现错误。
我使用了命令pip install PySide2
。这对我没有用。
任何帮助都将不胜感激。
错误:
ERROR: Could not find a version that satisfies the requirement pyside2 (from versions: none)
ERROR: No matching distribution found for pyside2
发布于 2019-11-07 08:46:02
如果您检查pypi页上可用的文件,您将看到只有cp35.cp36.cp37
的轮子,所以python3.5到3.7,没有3.8的文件。这就是为什么pip
找不到版本,因为pypi
上没有兼容的版本。
qt网站上也没有python3.8版本
现在您有两个选择:
更新
自从撰写上述答案以来,发布了一个新版本的pyside2
,如果您有python 3.8
,pip install
现在应该能够为pyside2
找到一个whl
。
发布于 2020-03-23 12:53:39
另外,对于任何试图在Raspbian (也可能是其他Linux系统)上安装这个程序的人来说:
您可以使用以下命令安装PySide2,而不需要计较轮
$sudo apt-get install python3-pyside2.qt3dcore python3-pyside2.qt3dinput python3-pyside2.qt3dlogic python3-pyside2.qt3drender python3-pyside2.qtcharts python3-pyside2.qtconcurrent python3-pyside2.qtcore python3-pyside2.qtgui python3-pyside2.qthelp python3-pyside2.qtlocation python3-pyside2.qtmultimedia python3-pyside2.qtmultimediawidgets python3-pyside2.qtnetwork python3-pyside2.qtopengl python3-pyside2.qtpositioning python3-pyside2.qtprintsupport python3-pyside2.qtqml python3-pyside2.qtquick python3-pyside2.qtquickwidgets python3-pyside2.qtscript python3-pyside2.qtscripttools python3-pyside2.qtsensors python3-pyside2.qtsql python3-pyside2.qtsvg python3-pyside2.qttest python3-pyside2.qttexttospeech python3-pyside2.qtuitools python3-pyside2.qtwebchannel python3-pyside2.qtwebsockets python3-pyside2.qtwidgets python3-pyside2.qtx11extras python3-pyside2.qtxml python3-pyside2.qtxmlpatterns python3-pyside2uic
应该包括所有标准的Qt功能。我能够运行我的应用程序--它运行得出奇的好。
以防万一-我来是因为我不能通过Raspbian上的pip安装它。
如果您使用ArchLinux在您的覆盆子Pi,工作轮应该是可用的。有关更多信息,请参见此线程。
发布于 2019-12-15 14:35:29
版本5.14现在可用,支持cp38,请参阅:http://download.qt.io/snapshots/ci/pyside/5.14/latest/pyside2/
https://stackoverflow.com/questions/58743664
复制相似问题