switch to venv in linux code example Example: virtual env python 2 virtualenv -p C:\Python27\python.exe venv .\venv\Scripts\activate