Reputation:
I have a Windows machine with Python 2.3, 2.6 and 3.0 installed and 2.5 installed with Cygwin. I've downloaded the pexpect package but when I run "python setup.py install" it installs to the 2.6 installation.
How could I have it install to the Cygwin Python installation, or any other installation?
Upvotes: 1
Views: 388
Reputation: 2309
using "python2.3" can be wrong if another (default) installation patched PATH to itself only.
Task can be solved by:
C:\Python26\python.exe setup.py install
Upvotes: 0
Reputation: 5243
call the specific python version that you want to install for. For example:
$ python2.3 setup.py install
should install the package for python 2.3
Upvotes: 5