2011年3月17日 星期四

Use Python Egg Install SSL

> ez_setup.py
Downloading http://pypi.python.org/packages/2.5/s/setuptools/setuptools-0.6c11-p
y2.5.egg
Processing setuptools-0.6c11-py2.5.egg
Copying setuptools-0.6c11-py2.5.egg to d:\program files\python25\lib\site-packag
es
Adding setuptools 0.6c11 to easy-install.pth file
Installing easy_install-script.py script to D:\Program Files\Python25\Scripts
Installing easy_install.exe script to D:\Program Files\Python25\Scripts
Installing easy_install.exe.manifest script to D:\Program Files\Python25\Scripts

Installing easy_install-2.5-script.py script to D:\Program Files\Python25\Script
s
Installing easy_install-2.5.exe script to D:\Program Files\Python25\Scripts
Installing easy_install-2.5.exe.manifest script to D:\Program Files\Python25\Scr
ipts

Installed d:\program files\python25\lib\site-packages\setuptools-0.6c11-py2.5.eg
g
Processing dependencies for setuptools==0.6c11
Finished processing dependencies for setuptools==0.6c11


> ez_setup.py ssl
Searching for ssl
Reading http://pypi.python.org/simple/ssl/
Reading http://docs.python.org/dev/library/ssl.html
Best match: ssl 1.15
Downloading http://pypi.python.org/packages/source/s/ssl/ssl-1.15.tar.gz#md5=81e
a8a1175e437b4c769ae65b3290e0c
Processing ssl-1.15.tar.gz
Running ssl-1.15\setup.py -q bdist_egg --dist-dir c:\windows\temp\easy_install-e
xgdti\ssl-1.15\egg-dist-tmp-qna-4p
error: Setup script exited with error: Python was built with Visual Studio 2003;


extensions must be built with a compiler than can generate compatible binaries.
Visual Studio 2003 was not found on this system. If you have Cygwin installed,
you can try compiling with MingW32, by passing "-c mingw32" to setup.py.


Download:
ssl for python

沒有留言: