Reputation: 13143
I'm on Windows trying to run a Python script. The problem I'm facing is that this script requires Python 2.7. Cygwin is currently installed with the Python 2.6 package. I tried searching for a 2.7 package in the installation wizard but couldn't find any. So I'm kinda stuck. Does anybody have a solution?
Upvotes: 13
Views: 28406
Reputation: 8516
Running setup.exe for Cygwin will give you the chance to upgrade Python to 2.7.
If you don't see the 2.7 package, go back and select a different mirror, since not all repositories have all versions available.
Upvotes: 9
Reputation: 5219
Install python 2.7 from python.org or EPD, etc. Then put the location of python.exe (default is C:\Python27\python.exe
) in your Environment Variables (Right click "Computer" from start menu -> select "properties" -> Environment Variables
)
and remove python 2.6 from cygwin, before you do all this.
Upvotes: 7
Reputation: 13143
The problem was that I had downloaded a corrupt package of the source code. I tried it again and it worked fine.
The solution to this problem is to compile the package yourself till its not officially available. I had downloaded a corrupt package of the source code, md5 checksum turned out to be different. I tried it again and it worked fine.
Upvotes: 1