python pip, setuptools,easy_install安装(win8)

来源:互联网 发布:淘宝机锋市场 编辑:程序博客网 时间:2024/05/04 13:44

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 ***

0 0
原创粉丝点击