Skip to content

Instantly share code, notes, and snippets.

@ceshm
Last active November 19, 2019 21:04
Show Gist options
  • Save ceshm/6bebb60f389dccd57c8b018485da9cbc to your computer and use it in GitHub Desktop.
Save ceshm/6bebb60f389dccd57c8b018485da9cbc to your computer and use it in GitHub Desktop.
Create python env with virtualenvwrapper and python3 version

Check specific python3 version

$ python3 --version

Python 3.4.0

also for specific python3.x

$ python3.7 --version

Python 3.7.1

Create env using virtualenvwrapper

$ mkvirtualenv py3 --python=python3.7

Check env has correct python version

(py3) host$ python --version

Python 3.7.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment