PyQT5 Anaconda 安装 - 未考虑包
PyQT5 Anaconda installation - packages not taken in to account
我尝试过多种方式在 Conda 中安装 pyqt5,最近是这样的:
pip3 install pyqt5==5.12.0
但是,在任何情况下,我都会收到一个我无法解决的错误,在安装较新版本的 pyqt5 时也是如此:
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
spyder 4.1.5 requires pyqtwebengine<5.13; python_version >= "3", which is not installed.
我的包裹看起来像:
# packages in environment at C:\ProgramData\Anaconda3:
#
# Name Version Build Channel
pyqt5 5.12 pypi_0 pypi
pyqt5-sip 4.19.19 pypi_0 pypi
知道我必须更改什么吗?
已解决:我有 Python 3.8,但 PyQt5 仅适用于 Python 3.4。安装 PyQt6 解决了问题。
我尝试过多种方式在 Conda 中安装 pyqt5,最近是这样的:
pip3 install pyqt5==5.12.0
但是,在任何情况下,我都会收到一个我无法解决的错误,在安装较新版本的 pyqt5 时也是如此:
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
spyder 4.1.5 requires pyqtwebengine<5.13; python_version >= "3", which is not installed.
我的包裹看起来像:
# packages in environment at C:\ProgramData\Anaconda3:
#
# Name Version Build Channel
pyqt5 5.12 pypi_0 pypi
pyqt5-sip 4.19.19 pypi_0 pypi
知道我必须更改什么吗?
已解决:我有 Python 3.8,但 PyQt5 仅适用于 Python 3.4。安装 PyQt6 解决了问题。