Python Installaltion Instructions
Table of Contents
You have to download Python 3.5 version (or latest). Depending on the OS version you are running, please select the corresponding version.
In this class, we will use the IPython notebook for the programming. An IPython notebook lets you write and execute Python codes in your web browser.
Please download the Community version. The Community version will be used for in-class demonstrations and labs.
If you are running a 32-bit OS, check on the box indicated '32-bit launcher'. However, if you are running a 64-bit OS, do not click on the check box.
For both cases, please click on the check box indicated '.py'.
Create a New Project.
Set your path and name for your project.
Right click on the the project folder. The project name is set as "untitled" for the example below.
Select New $\rightarrow$ Python file and define your python script name.
Type the sample code below and run.
If your python code is running properly, you should see "Hello" in your console terminal.
pip pyserial Installation
Open the cmd window as the administrator, and type in the following:
pip install pyserial
The download process will begin soon, and the pyserial module will be successively installed.
When you are finished installing pyserial, install bs4 using the same method. Type the following into the command window
pip install bs4
pip pyqt4 Installation
To install pyqt4 module, you should download the .whl file from the following link. (maybe you need 'PyQt4‑4.11.4‑cp36‑cp36m‑win_amd64.whl')
After finishing downloading, open the cmd window on the download folder as the administrator and type in the following:
pip install PyQt4‑4.11.4‑cp36‑cp36m‑win_amd64.whl