您的位置:首页 > 编程语言 > Python开发

python pip, setuptools,easy_install安装(win8)

2015-12-04 13:54 871 查看
During installing BeautifulSoup package, it occurred error like:

from setuptools import ( ImportError: No module named setuptools

Resolved step:

a. setuptools:

1. open https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py

2. save the py file on local disk named as ez_setup.py

3. install setuptools: python ez_setup.py

b. pip

(PyPI)The Python Package Index is a repository of software for the Python programming language. 


1. download from: https://pypi.python.org/pypi/pip#downloads

select tar.gz file:  pip-7.1.2.tar.gz (md5pgp)

2. unzip pip file

3. run below cmd to install : python setup.py install

4. after step 3, add C:\Python27\Scripts
into system path

c. easy_install

1. download path: https://pypi.python.org/pypi/setuptools#windows-8-powershell

2.
install it, the oriented path is C:\Python27\Scripts

d.
usage


easy_install ***

pip install ***
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息