PySide2 在 Ubuntu 14.04 上未找到分发版
PySide2 no distribution found on Ubuntu 14.04
我正在尝试通过 pip 安装 PySide2,但它抛出了这个错误:
Downloading/unpacking PySide2
Could not find any downloads that satisfy the requirement PySide2
Cleaning up...
No distributions at all found for PySide2
我 运行 pip 也带有 -v
选项,我注意到它会检查是否有适用于我的平台的 PySide2 轮子,但没有找到。
我访问了这个 url,那里有 PySide2 的所有可用轮子。在我看来,至少有一个对我的平台有利,为什么pip一直说相反?
这里有一些有用的输出:
hostnamectl
Chassis: vm
Operating System: Ubuntu 14.04.5 LTS
Kernel: Linux 4.4.0-121-generic
Architecture: x86_64
cat /etc/os-release
NAME="Ubuntu"
VERSION="14.04.5 LTS, Trusty Tahr"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 14.04.5 LTS"
VERSION_ID="14.04"
我正在使用此 Python 版本的虚拟环境:
python --version
Python3.5.2
例如,为什么这个轮子不兼容?
PySide2-5.11.0-5.11.0-cp35.cp36-abi3-manylinux1_x86_64.whl
我升级了 pip,现在可以安装 PySide2
pip install --upgrade pip
我正在尝试通过 pip 安装 PySide2,但它抛出了这个错误:
Downloading/unpacking PySide2
Could not find any downloads that satisfy the requirement PySide2 Cleaning up...
No distributions at all found for PySide2
我 运行 pip 也带有 -v
选项,我注意到它会检查是否有适用于我的平台的 PySide2 轮子,但没有找到。
我访问了这个 url,那里有 PySide2 的所有可用轮子。在我看来,至少有一个对我的平台有利,为什么pip一直说相反?
这里有一些有用的输出:
hostnamectl
Chassis: vm
Operating System: Ubuntu 14.04.5 LTS
Kernel: Linux 4.4.0-121-generic
Architecture: x86_64
cat /etc/os-release
NAME="Ubuntu"
VERSION="14.04.5 LTS, Trusty Tahr"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 14.04.5 LTS"
VERSION_ID="14.04"
我正在使用此 Python 版本的虚拟环境:
python --version
Python3.5.2
例如,为什么这个轮子不兼容? PySide2-5.11.0-5.11.0-cp35.cp36-abi3-manylinux1_x86_64.whl
我升级了 pip,现在可以安装 PySide2
pip install --upgrade pip