如何安装.EGG文件

准备好蛋

准备好工具

安装工具:http://pypi.python.org/pypi/setuptools

安装完成后在

D:\Python27\Scripts文件夹中找到easy_install.exe, 在cmd中运行这个exe文件,将egg文件作为运行参数


C:\Documents and Settings\10170660>C:\Python27\Scripts\easy_install.exe "C:\Docu
ments and Settings\10170660\My Documents\Downloads\zope.interface-3.8.0-py2.7-wi
n32.egg"

Processing zope.interface-3.8.0-py2.7-win32.egg
creating c:\python27\lib\site-packages\zope.interface-3.8.0-py2.7-win32.egg
Extracting zope.interface-3.8.0-py2.7-win32.egg to c:\python27\lib\site-packages


Adding zope.interface 3.8.0 to easy-install.pth file


Installed c:\python27\lib\site-packages\zope.interface-3.8.0-py2.7-win32.egg
Processing dependencies for zope.interface==3.8.0
Finished processing dependencies for zope.interface==3.8.0


C:\Documents and Settings\10170660>

 

Twisted需要一个zope.interface的蛋

http://pypi.python.org/pypi/zope.interface#downloads

你可能感兴趣的:(python)