【问题标题】:Is Pyside not compatible with python 3.6.4? [duplicate]Pyside 与 python 3.6.4 不兼容吗? [复制]
【发布时间】:2018-05-06 14:10:59
【问题描述】:

我按照步骤将 Pyside 安装在我的 macOS 13.13.4 上 Python 3.6.4Github page 但在运行 pip install -U PySide 之后,我收到以下错误消息,这似乎表明 Pyside 与 @987654326 不兼容@??:

mymacs-MacBook-Pro:~ mymac$ pip install -U PySide
Collecting PySide
Using cached https://files.pythonhosted.org/packages/36/ac/ca31db6f2225844d37a41b10615c3d371587677efd074db29855e7035de6/PySide-1.2.4.tar.gz
Complete output from command python setup.py egg_info:
only these python versions are supported: [(2, 6), (2, 7), (3, 2), (3, 3), (3, 4)]

----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/jq/yyp9q2fs1z5780k9l1_2ph4r0000gn/T/pip-install-zz9h16bx/PySide/
mymacs-MacBook-Pro:~ mymac$

我有anaconda吗,我看了这个website和这个stackoverflow page我试过conda install -c anaconda pysideconda install -c conda-forge pyside,但他们都抛出了同样的错误信息:

Solving environment: failed

UnsatisfiableError: The following specifications were found to be in conflict:
- pyqt
- pyside
Use "conda info <package>" to see the dependencies for each package.

非常感谢您的帮助!

【问题讨论】:

  • 错误信息说得很清楚:only these python versions are supported: [(2, 6), (2, 7), (3, 2), (3, 3), (3, 4)].
  • 谢谢@BoarGules。在这两者之间,我确实阅读了错误消息

标签: python python-3.x installation pyside


【解决方案1】:

根据stackoverflow page 看来,Pyside 将不会针对 python 3.5+ 版本进行更新。相反,应该安装 Pyside2。安装说明见here

【讨论】:

    猜你喜欢
    • 2018-12-17
    • 2012-02-11
    • 2021-12-17
    • 1970-01-01
    • 2017-01-05
    • 2012-03-16
    • 2018-10-06
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多