Python Tips
Set up VSCode as your python IDE
This is the standard way to run this control interface.
- Install Python 3
- On Ubuntu 18.04 and later: Python 3 is already installed
- On Windows: Use Anaconda
- Make a new python virtual environment (call it “ctrl_p”)
- On Ubuntu: use venv
sudo apt-get install python3-venv
- On Windows: do this inside Anaconda (instructions)
- On Ubuntu: use venv
- Clone the python interface code (you can put it anywhere you want)
- Install VSCode
- Configure VSCode
- Install the python extension for vscode.
- (Windows Only) Set your default terminal to the command prompt (instructions).
- Open the “pressure_control_interface” folder from inside vscode.
- Set the python virtual environment to use (instructions).
- Install python package dependencies
pip install [PACKAGE]
- all dependencies for this project are listed in the setup page