Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'python?': 0.05; 'python': 0.08; 'created,': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:80.91.229.12': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:lo.gmane.org': 0.09; 'subject:installation': 0.09; 'am,': 0.12; 'env,': 0.16; 'subject:virtualenv': 0.16; 'wrote:': 0.16; 'linux': 0.17; 'header:In-Reply-To:1': 0.22; 'thus': 0.23; 'environment': 0.29; 'installation': 0.30; 'subject:?': 0.31; 'installed': 0.32; 'there': 0.33; 'to:addr:python-list': 0.33; 'named': 0.33; 'it?': 0.33; 'header:User-Agent:1': 0.34; 'skip:# 10': 0.34; 'test': 0.34; 'executable': 0.34; 'header:X-Complaints- To:1': 0.35; 'using': 0.37; 'run': 0.37; 'subject:can': 0.38; 'received:org': 0.38; 'some': 0.38; 'subject:: ': 0.39; 'under': 0.39; 'files,': 0.39; 'header:Mime-Version:1': 0.39; 'to:addr:python.org': 0.39; 'where': 0.40; 'subject:without': 0.67; 'lien': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Gelonida N Subject: Re: can virtualenv run without the main installation? Date: Sat, 06 Aug 2011 21:52:46 +0200 References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: unicorn.dungeon.de User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110617 Lightning/1.0b2 "" In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 20 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1312660808 news.xs4all.nl 23843 [2001:888:2000:d::a6]:34470 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:10986 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 : >> 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