mkdir udacity_sdc_nd cd udacity_sdc_nd sudo pip install virtualenv # This may already be installed python3 -m venv .env # Create a virtual environment (python3) source .env/bin/activate # Activate the virtual environment pip install -r requirements.txt See the CarND Term 1 Starter Kit if you want to use Udacity’s official setup.