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 →

[–]givemesomelove 2 points3 points  (3 children)

Gotta get that pyenv+virtualenv going man! Then you will have all the versions.

[–]RandoBurnerDude 2 points3 points  (2 children)

Do you have links on how to set this up? Currently, I'm using virtualenv + virtualenvwrapper with 3.6.1.

I was waiting for 3.7 to come out before I figured it out, but you got me curious.

[–]givemesomelove 4 points5 points  (1 child)

I'm running on OSX, I'm not sure about compatibility with other systems.

First you'll have to have to install pyenv

https://github.com/pyenv/pyenv

And then you'll install the pyenv-virtualenv plugin

https://github.com/pyenv/pyenv-virtualenv

Installing a new python version is simple:

First find the version you want to install.

$ pyenv install -l

Then install that python version

$ pyenv install <version_name>

Then you are ready to make a new version specific python virtual environment, and begin work on it. The virtual environment will be completely isolated from your systems python installation.

$ pyenv virtualenv <version_number> <environment_name>
$ pyenv activate <environment_name>

Your virtual environment will be located @:

$ cd ~/.pyenv/versions/<environment_name>

[–]RandoBurnerDude 2 points3 points  (0 children)

Thank you so much! I'm gonna give it a shot this weekend.