Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Virtualenv cannot specify minor Python version

virtualenv will not let me specify 2.7.5 in the command (the version of python I need), it only allows 2.7. However, specifying 2.7 gives me 2.7.4, the version below the one I need. Is this an inherent limitation of virtualenv or am I missing something?

$ virtualenv test/test --no-site-packages --python=python2.7

System is Ubuntu 13.04, which has Python 2.6.8, 2.7.4 and 3.3.1 installed.

like image 440
hewhocutsdown Avatar asked Jun 16 '26 16:06

hewhocutsdown


1 Answers

Just download/make/install/apt-get/synaptic python 2.7.5 and point at it's path like so when creating a virtulenv:

virtualenv test/test -p /usr/bin/my_2.7.5_directory/python2.7
like image 178
Matthew Graves Avatar answered Jun 19 '26 05:06

Matthew Graves