Python3 Virtualenv Setup

Install python3

brew install python3

Pip3 is installed with Python3

Upgrade virtualenv

To install virtualenv via pip run:

pip install --upgrade virtualenv

Create virtualenv

virtualenv -p python3 python3-venv

Activate the virtualenv

source python3-venv/bin/activate

Deactivate the virtualenv

deactivate

About Tang

A mobile developer, work in Stockholm, Sweden
This entry was posted in Mobile and tagged . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s