You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
901 B
901 B
layout | title | author | author_login | author_email | date | categories | tags |
---|---|---|---|---|---|---|---|
post | Virtualenv with python3 | [{display_name sipp11} {login sipp11} {email sipp11@gmail.com} {url }] | sipp11 | sipp11@gmail.com | Jul 20, 2015 | [coding] | [python3 virtualenv] |
Nowadays, although python2
still are the production preferred choice, python3
is maturing and surely started taking over. Testing under python3
environment is pretty easy.
On Linux, most distros have both python2
and python3
bundled. However, on OSX, you need to install python3
by yourself. Fortunately, it is one command away with the magic of brew
.
$ brew install python3
Then you could check by calling python3
if it works. Then you could make a virtuanenv
with python3
.
$ mkvirtualenv --python=`which python3` en-py3
(en-py3) $
That's all. Nothing extra required. Happy testing your app on python3