/note/social

virtualenvでPythonのバージョンを指定

Python Tips:virtualenv で Python のバージョンを指定したい - Life with Pythonより

$ which python3.4  #=>/usr/bin/python3.4

$ virtualenv test_env --python=/usr/bin/python3.4
    (...省略...)

$ python -V  #=>Python3.4.x