简体   繁体   中英

How do I install a python package

I want to install this python package: http://pypi.python.org/pypi/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.

您可以从此处下载适用于Windows的二进制文件,也可以使用easy_install,如上面的海报所述:http://alastairs-place.net/2007/03/netifaces/netifaces-0.4-py2.4-win32.egg

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM