1. pip install PyQt5 (Error)

D:\\eclipse\Python\App\PyQt5>pip install PyQt5 
Fatal error in launcher: Unable to create process using '"d:\autocompiler\temp\portable python-3.8.1 x64\app\python\python.exe"  "D:\eclipse\python\App\Python\Scripts\pip.exe" install PyQt5'

 

2. upgrade pip 

 - pip directory 이동 및 python path 확인

D:\eclipse> cd D:\eclipse\Python\App\Python\Scripts

D:\eclipse\Python\App\Python\Scripts> where python
  D:\eclipse\Python\App\Python\python.exe 
  C:\Users\admin\AppData\Local\Microsoft\WindowsApps\python.exe

 - pip upgrade

D:\eclipse\Python\App\Python\Scripts> D:\eclipse\Python\App\Python\python.exe -m pip install --upgrade pip
  Collecting pip
    Downloading https://files.pythonhosted.org/packages/54/0c/d01aa759fdc501a58f431eb594a17495f15b88da142ce14b5845662c13f3/pip-20.0.2-py2.py3-none-any.whl (1.4MB)
       |████████████████████████████████| 1.4MB 218kB/s
  Installing collected packages: pip
    Found existing installation: pip 19.2.3
      Uninstalling pip-19.2.3:
        Successfully uninstalled pip-19.2.3
  Successfully installed pip-20.0.2

 

3. PyQt5 설치

D:\eclipse\Python\App\Python\Scripts> pip install PyQt5
  Collecting PyQt5
    Downloading PyQt5-5.14.1-5.14.1-cp35.cp36.cp37.cp38-none-win_amd64.whl (53.1 MB)
       |████████████████████████████████| 53.1 MB 310 kB/s
  Collecting PyQt5-sip<13,>=12.7
    Downloading PyQt5_sip-12.7.1-cp38-cp38-win_amd64.whl (59 kB)
       |████████████████████████████████| 59 kB 4.1 MB/s
  Installing collected packages: PyQt5-sip, PyQt5
  Successfully installed PyQt5-5.14.1 PyQt5-sip-12.7.1

 

4. 설치 확인

D:\> cd ${PYTHON_HOME}\Lib\site-packages\PyQt5 ## 내용확인
반응형

'Programming > Python' 카테고리의 다른 글

Convert PyQt5 to PySide2  (0) 2020.02.18
PyQt vs PySide2 ui file 사용  (0) 2020.02.18
[Python] 함수의 이해  (0) 2019.08.11
[Python] for 문의 이해  (0) 2019.07.21
[Python] while 문의 이해  (0) 2019.07.21

+ Recent posts