forked from partyrobotics/bartendro
-
Notifications
You must be signed in to change notification settings - Fork 5
Python and HelloDrinkBot
tlujan0001 edited this page Apr 12, 2020
·
3 revisions
The HelloDrinkBot disk image comes with Python 2.7 and Python 3 installed. Check your version by entering
python --version and python3 --version
If you begin writing your own applications on the DrinkBot Pi, it's a good idea to run a virtual environment to prevent hiccups. Virtual Environments keep each project in its own area so they don't have to share dependencies with each other.
Here is an excellent tutorial on VE's Python Virtual Environments: A Primer
You can install the Python Virtual Environment package by entering sudo apt-get install python3-venv into the terminal.