Skip to main content
 首页 » 编程设计

python之Pyside 与 python 3.6.4 不兼容吗

2024年09月07日11unruledboy

<分区>

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

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 pyside 和 conda 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. 

非常感谢您的帮助!