Skip to content

Instantly share code, notes, and snippets.

@b3h3rkz
Last active March 17, 2018 12:53
Show Gist options
  • Save b3h3rkz/a66a3a7d9342d7354689cf1e5391167f to your computer and use it in GitHub Desktop.
Save b3h3rkz/a66a3a7d9342d7354689cf1e5391167f to your computer and use it in GitHub Desktop.
Setting up virtualenv for python3 on Mac
Requirements
  • Python 3
  • Pip 3
$ brew install python3

Install via pip:

$ pip3 install virtualenv
Usage

Creation of virtualenv:

$ virtualenv -p python3 . (for same directory)

Activate the virtualenv:

$ source bin/activate

Deactivate the virtualenv:

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