woonizzooni

PyQt5 설치 (Windows 환경에서) 본문

Programming/Python

PyQt5 설치 (Windows 환경에서)

woonizzooni 2019. 8. 24. 03:29

 = 백업 용 =

 

o 환경

Windows10 환경 [참고]

 

 

o 설치

cmd

> pip3 install pyqt5-tools

C:\>pip3 install pyqt5-tools
Collecting pyqt5-tools
  Downloading https://files.pythonhosted.org/packages/20/8e/c5ee.../pyqt5_tools-5.13.0.1.5-cp37-none-win_amd64.whl (67.2MB)
     |████████████████████████████████| 67.2MB 6.4MB/s
Collecting python-dotenv (from pyqt5-tools)
  Downloading https://files.pythonhosted.org/packages/57/c8/.../python_dotenv-0.10.3-py2.py3-none-any.whl
Collecting pyqt5==5.13.0 (from pyqt5-tools)
  Downloading https://files.pythonhosted.org/packages/3b/d3/.../PyQt5-5.13.0-5.13.0-cp35.cp36.cp37.cp38-none-win_amd64.whl (49.7MB)
     |████████████████████████████████| 49.7MB 1.1MB/s
Requirement already satisfied: click in c:\users\xxxx\appdata\local\packages\pythonsoftwarefoundation.python.3.7
_qbz5n2kfra8p0\localcache\local-packages\python37\site-packages (from pyqt5-tools) (7.0)
Collecting PyQt5_sip<13,>=4.19.14 (from pyqt5==5.13.0->pyqt5-tools)
  Downloading https://files.pythonhosted.org/packages/cf/c8/.../PyQt5_sip-4.19.18-cp37-none-win_amd64.whl (51kB)
     |████████████████████████████████| 61kB ...
Installing collected packages: python-dotenv, PyQt5-sip, pyqt5, pyqt5-tools
  WARNING: The script dotenv.exe is installed in 'C:\Users\xxxx\AppData\Local\Packages\
PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\Scripts' which is not on PATH.

  Consider adding this directory to PATH or, if you prefer to suppress this warning, 
use --no-warn-script-location.

  WARNING: The scripts pylupdate5.exe, pyrcc5.exe and pyuic5.exe are installed in 
'C:\Users\xxxx\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7
_qbz5n2kfra8p0\LocalCache\local-packages\Python37\Scripts' which is not on PATH.

  Consider adding this directory to PATH or, if you prefer to suppress this warning, 
use --no-warn-script-location.

  WARNING: The scripts assistant.exe, canbusutil.exe, designer.exe, dumpcpp.exe, dumpdoc.exe, 
lconvert.exe, linguist.exe, lprodump.exe, lrelease-pro.exe, lrelease.exe, lupdate-pro.exe, lupdate.exe, pixeltool.exe, pyqt5designer.exe, ... and xmlpatternsvalidator.exe are installed in 
'C:\Users\xxxx\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\
LocalCache\local-packages\Python37\Scripts' which is not on PATH.

  Consider adding this directory to PATH or, if you prefer to suppress this warning, 
use --no-warn-script-location.

Successfully installed PyQt5-sip-4.19.18 pyqt5-5.13.0 pyqt5-tools-5.13.0.1.5 python-dotenv-0.10.3
WARNING: You are using pip version 19.1.1, however version 19.2.2 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

 

o 설치 경로 & 실행 파일 위치

C:\Users\xxxxx\AppData\Local\

    Packages\

    PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\

    LocalCache\

    local-packages\Python37\site-packages\

    pyqt5_tools\Qt\bin\designer.exe

 

 

o 실행

 

Comments