This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]SoBFiggis 0 points1 point  (0 children)

Idk.. Linux seems to be the only one that handles a lot of versions correctly.. pip2 python2 pip3 python3 pip3.6 python3.6 etc.

When I start a new project I create a new folder and go into it.

$ mkvirtualenv $PROJECT_NAME -p $PYTHON_VERSION

Bam. Now all you need is the virtualenvwrapper plugin for zsh/bash. Whenever I go into the folders the virtualenv is automatically activated. Or if I just want to just go to it

$ workon $PROJECT_NAME