views:

28

answers:

3

Hi!

I'm running GAE SDK on a windows vista laptop. It keeps reminding me to install the ssl module. I've been having great difficulty on how to do that.

I've downloaded the ssl module.

I've done 'python setup.py install' in cmd, but it just says "python is not recognized as an internal..."

I've added C:\Python2.5.2 to my PATH.

Still the same message "python is not recognized as an internal or external command..."

What else should I do?

+2  A: 

On the command line, run set path and confirm that c:\Python2.5.2 is in your path?

Or, just run c:\Python2.5.2\python setup.py install

Also by the way I would recommend that you use 2.5.4 for app engine development, as that is the version google use in production.

The following question also has some info which might be useful: http://stackoverflow.com/questions/2261866/how-to-install-python-ssl-module-on-windows

Saxon Druce
A: 

Why don't you provide the complete path to python executable. That should work.

C:\"Python2.5.2"\python.exe setup.py install

pyfunc
A: 

Note: this answer is not specific to the ssl module, but reminded me of a problem I encountered when installing Sphinx on a Win7 machine.

You might want to call python setup.py install from a command prompt with administrator privileges (see here how to start a cmd prompt "as administrator"). I ran into similar problems (using easy_install) and running from an admin prompt was the solution.

Marijn