can virtualenv run without the main installation?

Gelonida N gelonida at gmail.com
Sat Aug 6 15:52:46 EDT 2011


On 08/06/2011 09:51 AM, smith jack wrote:
> env create by virtualenv will refer to the main env, how did it find
> the main env, is there any configuration files, if yes, where is it?
> 
> 2011/8/6 smith jack <thinke365 at gmail.com>:
>> At first i have a python environment, after using virtualenv test
>> command, a new environment named test is created, in that directory
>> have some of the executable commands
>> such as python.exe, so can i program without the main installation of python?
>>


Under linux the first lien of virtualenv is

#!/usr/bin/python


Thus it will be run by python installed under /usr/bin/python





More information about the Python-list mailing list