2017年6月22日 星期四

[Python][Windows] How to use python on windows

  1. Install package
    PyQt5-5.6-gpl-Py3.5-Qt5.6.0-x64-2.exe
    python-3.5.2-amd64.exe

  2. Set the path of python into system environment
    Ref:
    [教學] 如何在 Windows 平台建立 Python 編程環境
    How to add to the pythonpath in windows 7?

  3. Copy ui to site-packages
    A. find out where is the location of site-packages
    Ref
    What is python’s site-packages directory?

  4. Install pyvisa through pip
    Through ez_setup.py to install pip
    Ref
    Windows 7 (or graphical install)
    According to above article, user cand download ez_setup.py from specific hyperlink.
    ez_setup.py



Jump to C:\Users\Administrator\AppData\Local\Programs\Python\Python35\Scripts


Type following command
Upgrade pip from pip-8.1.1 to pip-9.0.1
python -m pip install –upgrade pip


pip install pyvisa



Reference:

0 意見:

張貼留言