I have two versions of python installed on Win7. (Python 2.5 and Python 2.7).
These are located in 'C:/Python25' and 'C:/Python27' respectively.
I am trying to run a file using Python 2.5 but by default Cygwin picks up 2.7.
How do I change which version Cygwin uses?
The fast way is to reorder your $PATH so that 2.5 is picked up first. The correct way is to use virtualenv to create a jail environment that's specific to a python version.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With