나는 명령을 실행한다
pip install pyqt5
다음 오류가 발생합니다.
~$ pip install pyqt5
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Defaulting to user installation because normal site-packages is not writeable
ERROR: Could not find a version that satisfies the requirement pyqt5 (from versions: none)
ERROR: No matching distribution found for pyqt5
꼭 알아두세요 꼭 필요해요파이썬2 pyqt5
그리고Python3 아님 pyqt5
, 제가 받은 프로그램이 너무 오래되었기 때문이죠.
당신의 도움을 주셔서 감사합니다! :)
답변1
Python2용 pyqt5를 빌드해 볼 수 있습니다. 존재하다여기저자는 동일한 문제에 직면하여 Linux에서 Python2용으로 빌드하는 단계를 작성했습니다.