开发者

Installing Python SSL module on Windows Vista

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 cm开发者_JAVA百科d, 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?


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: How to install Python ssl module on Windows?


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

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


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜