3 ms·
You can do that with virtualenvs, too. `mkvirtualenv -p python3.6` for example. When you activate that virtualenv, it uses that interpreter version.
by captainmuon 9y ago
You can do that with virtualenvs, too. `mkvirtualenv -p python3.6` for example. When you activate that virtualenv, it uses that interpreter version.
- nnq 9y agoCan you also install separate python versions this way? like have it automagically download a precompiled python3.6 for you even if there may not be a distro package for it. I don't really like having to depend on the system's python binaries and their packages, but I don't want to compile my own either. But I do know most people would violently disagree with me on this :) (I just happen to be both incredibly lazy and a control freak at the same time :P...)
- afarrell 9y agoyes, you just need to find a channel that has that version published, trust the person maintaining that channel, and do something like `conda install --channel amfarrell nodejs=6.6.0`
- nnq 9y agoI was asking the question about non-anaconda python, aka "plain python with virtualenv" that I think GP was referring to...