Virtual Environments on the Raspberry Pi

which python 3.5
sudo nano ~/.profile
VIRTUALENVWRAPPER_PYTHON=/usr/bin/python3.5
source ~/.profile
sudo pip3 install virtualenv
sudo pip3 install virtualenvwrapper
sudo nano ~/.profile
export WORKON_HOME=$HOME/.virtualenvs
source /usr/local/bin/virtualenvwrapper.sh
source ~/.profile
mkvirtualenv whatever -p /usr/bin/python3.5
source ~/.profile
workon whatever
deactivate

--

--

--

TinyML, AI, Edge Impulse, Arduino, Raspberry Pi, Pickleball

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Ron Mourant

Ron Mourant

TinyML, AI, Edge Impulse, Arduino, Raspberry Pi, Pickleball

More from Medium

Must have Python extension for VS Code

Fixing A Fresh Ubuntu 22.04 Install

Pullup Exercise Counter in Python using mediapipe and GUI

How to install Python and Pycharm