You might want to look into 'virtualenv', which sets up a self contained python install.
Hey people, does virtualenv work on XP? On Sun, Dec 5, 2010 at 5:56 PM, James Fort <[email protected]> wrote: > Hello SeaPIG, > > I attended the most recent SeaPIG meeting on NumPy and thought it was > great. I decided to join the mailing list as a result. > > I've recently run into a Python issue. I hope that posting a question here > is appropriate. Please let me know if it is not. The issue is as follows: > > My company's software is distributed with a special Python build that > includes some custom packages. I didn't want to mess with that install so I > additionally installed Python 2.6.6 on my machine (Windows XP 32-bit) for > experimentation purposes. I noticed that I can run a script that I've > written from a prompt with my company's distribution of Python using: > > >special python scriptName.py > > (where special is a prefix typed at the command prompt to identify this > special installation of Python and not the generic 2.6.6 installation) > > However, if I try the same with Python 2.6.6, it simply opens the Python > interpreter: > > >python scriptName.py > Python 2.6.6 (r266:84297, Aug 24 2010, 18:46:32) [MSC v.1500 32 bit > (Intel)] on win32 > Type "help", "copyright", "credits" or "license" for more information. > >>> > > This makes it impossible for me to install python packages from the web > using 'python setup.py install'. > > I read through the package installation docs and couldn't find anything. > However, I'm not sure that's the appropriate place to be looking. I'm quite > new to using the Python docs. Can anyone offer some insight as to why this > is happening or point me to some appropriate sources of information? > > Thanks, > James > -- Some radio waves were modulated in the creation of this email.
