How do I install a python package
I want to install this python package: http://pypi.python.org/pyp开发者_StackOverflowi/netifaces/0.5
But I don't know how and I know nothing about python. Still, I guess there is a standardized way to install it. Am I right?
Thanks in advance
From http://pypi.python.org/pypi:
to use a package from this index either "pip install package" or download, unpack and "python setup.py install" it.
That said, often distributions of Linux package a lot in their repositories, so try those too.
Check easy_install : http://peak.telecommunity.com/DevCenter/EasyInstall#using-easy-install
You can download the binary for windows from here or use easy_install as the above poster said http://alastairs-place.net/2007/03/netifaces/netifaces-0.4-py2.4-win32.egg
精彩评论