Vihaan Verma
Vihaan Verma

Reputation: 13143

Cygwin Python 2.7 package

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

Answers (3)

slashdottir
slashdottir

Reputation: 8516

python 2.7.3-1

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

vivek
vivek

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

Vihaan Verma
Vihaan Verma

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

Related Questions