问题
I have Python 3.8 on Windows. Already installed via pip PyQt5, tried PyQt5-tools but can't. My PyQt5 version is: 5.13.1
pip install PyQt5-tools
gives the error:
ERROR: Could not find a version that satisfies the requirement PyQt5-tools(from versions: none) ERROR: No matching distribution found for PyQt5-tools
I checked the https://pypi.org/project/pyqt5-tools/#files and tried as they mention to do:
pip install pyqt5-tools==5.13.1.1.6rc0
or
pip install --pre pyqt5-tools~=5.13.1
gives same error as above. The site mentions though Python 3.5, 3.6, 3.7 and no 3.8
I am assuming that its the matter of Python version. Am I right? Or maybe it has to do with exact PyQt5 version? Can somebody clarify me this? How to go through this problem?
回答1:
I recently upgraded to Python 3.8 and had the same problem. If you need QT designer, you can find Windows and Mac executables (40 MB) on this website.
来源:https://stackoverflow.com/questions/58398255/how-to-install-pyqt5-tools-on-python-3-8-i-can-see-only-wersion-for-up-to-3-7