windows下安装setuptools的方法

今天晚上安装setuptools, 下载了setuptools-0.9.8.tar.gz 却是怎样也装不上, 解压也出问题 ?? 

郁闷了偶,好大一会 .. 不过还好装上了..


在python的网站上 : https://pypi.python.org/pypi/setuptools/0.9.8

查找windows,显不如下:

windows下安装setuptools的方法_第1张图片

点击 ez_setup.py进入, 并将内容复制下来, 保存为本地的python脚本, 如: easy_install.py

运行... 显示如下 .. 自动下载安装包, 直到安装成功..

Downloading https://pypi.python.org/packages/source/s/setuptools/setuptools-0.9.8.tar.gz
Extracting in c:\users\robert~1\appdata\local\temp\tmprfdpue
Now working in c:\users\robert~1\appdata\local\temp\tmprfdpue\setuptools-0.9.8
Installing Setuptools
running install
running bdist_egg
running egg_info
writing dependency_links to setuptools.egg-info\dependency_links.txt
writing requirements to setuptools.egg-info\requires.txt
writing setuptools.egg-info\PKG-INFO
writing top-level names to setuptools.egg-info\top_level.txt
writing entry points to setuptools.egg-info\entry_points.txt
reading manifest file 'setuptools.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'setuptools.egg-info\SOURCES.txt'
installing library code to build\bdist.win32\egg
running install_lib
running build_py
creating build
creating build\lib
copying pkg_resources.py -> build\lib
copying easy_install.py -> build\lib
creating build\lib\setuptools
copying setuptools\archive_util.py -> build\lib\setuptools
copying setuptools\compat.py -> build\lib\setuptools
copying setuptools\depends.py -> build\lib\setuptools
copying setuptools\dist.py -> build\lib\setuptools
copying setuptools\extension.py -> build\lib\setuptools
copying setuptools\package_index.py -> build\lib\setuptools
copying setuptools\py24compat.py -> build\lib\setuptools
copying setuptools\py27compat.py -> build\lib\setuptools
copying setuptools\sandbox.py -> build\lib\setuptools
copying setuptools\script template (dev).py -> build\lib\setuptools
copying setuptools\script template.py -> build\lib\setuptools
copying setuptools\site-patch.py -> build\lib\setuptools
copying setuptools\ssl_support.py -> build\lib\setuptools
copying setuptools\__init__.py -> build\lib\setuptools
creating build\lib\_markerlib
copying _markerlib\markers.py -> build\lib\_markerlib
copying _markerlib\__init__.py -> build\lib\_markerlib
creating build\lib\setuptools\command
copying setuptools\command\alias.py -> build\lib\setuptools\command
copying setuptools\command\bdist_egg.py -> build\lib\setuptools\command
copying setuptools\command\bdist_rpm.py -> build\lib\setuptools\command
copying setuptools\command\bdist_wininst.py -> build\lib\setuptools\command
copying setuptools\command\build_ext.py -> build\lib\setuptools\command
copying setuptools\command\build_py.py -> build\lib\setuptools\command
copying setuptools\command\develop.py -> build\lib\setuptools\command
copying setuptools\command\easy_install.py -> build\lib\setuptools\command
copying setuptools\command\egg_info.py -> build\lib\setuptools\command
copying setuptools\command\install.py -> build\lib\setuptools\command
copying setuptools\command\install_egg_info.py -> build\lib\setuptools\command
copying setuptools\command\install_lib.py -> build\lib\setuptools\command
copying setuptools\command\install_scripts.py -> build\lib\setuptools\command
copying setuptools\command\register.py -> build\lib\setuptools\command
copying setuptools\command\rotate.py -> build\lib\setuptools\command
copying setuptools\command\saveopts.py -> build\lib\setuptools\command
copying setuptools\command\sdist.py -> build\lib\setuptools\command
copying setuptools\command\setopt.py -> build\lib\setuptools\command
copying setuptools\command\test.py -> build\lib\setuptools\command
copying setuptools\command\upload.py -> build\lib\setuptools\command
copying setuptools\command\upload_docs.py -> build\lib\setuptools\command
copying setuptools\command\__init__.py -> build\lib\setuptools\command
creating build\lib\setuptools\tests
copying setuptools\tests\doctest.py -> build\lib\setuptools\tests
copying setuptools\tests\py26compat.py -> build\lib\setuptools\tests
copying setuptools\tests\server.py -> build\lib\setuptools\tests
copying setuptools\tests\test_bdist_egg.py -> build\lib\setuptools\tests
copying setuptools\tests\test_build_ext.py -> build\lib\setuptools\tests
copying setuptools\tests\test_develop.py -> build\lib\setuptools\tests
copying setuptools\tests\test_dist_info.py -> build\lib\setuptools\tests
copying setuptools\tests\test_easy_install.py -> build\lib\setuptools\tests
copying setuptools\tests\test_egg_info.py -> build\lib\setuptools\tests
copying setuptools\tests\test_markerlib.py -> build\lib\setuptools\tests
copying setuptools\tests\test_packageindex.py -> build\lib\setuptools\tests
copying setuptools\tests\test_resources.py -> build\lib\setuptools\tests
copying setuptools\tests\test_sandbox.py -> build\lib\setuptools\tests
copying setuptools\tests\test_sdist.py -> build\lib\setuptools\tests
copying setuptools\tests\test_test.py -> build\lib\setuptools\tests
copying setuptools\tests\test_upload_docs.py -> build\lib\setuptools\tests
copying setuptools\tests\__init__.py -> build\lib\setuptools\tests
creating build\lib\setuptools\_backport
copying setuptools\_backport\__init__.py -> build\lib\setuptools\_backport
creating build\lib\setuptools\_backport\hashlib
copying setuptools\_backport\hashlib\_sha.py -> build\lib\setuptools\_backport\hashlib
copying setuptools\_backport\hashlib\_sha256.py -> build\lib\setuptools\_backport\hashlib
copying setuptools\_backport\hashlib\_sha512.py -> build\lib\setuptools\_backport\hashlib
copying setuptools\_backport\hashlib\__init__.py -> build\lib\setuptools\_backport\hashlib
copying setuptools\cli-32.exe -> build\lib\setuptools
copying setuptools\cli-64.exe -> build\lib\setuptools
copying setuptools\cli-arm-32.exe -> build\lib\setuptools
copying setuptools\cli.exe -> build\lib\setuptools
copying setuptools\gui-32.exe -> build\lib\setuptools
copying setuptools\gui-64.exe -> build\lib\setuptools
copying setuptools\gui-arm-32.exe -> build\lib\setuptools
copying setuptools\gui.exe -> build\lib\setuptools
copying setuptools\command\launcher manifest.xml -> build\lib\setuptools\command
creating build\bdist.win32
creating build\bdist.win32\egg
copying build\lib\easy_install.py -> build\bdist.win32\egg
copying build\lib\pkg_resources.py -> build\bdist.win32\egg
creating build\bdist.win32\egg\setuptools
copying build\lib\setuptools\archive_util.py -> build\bdist.win32\egg\setuptools
copying build\lib\setuptools\cli-32.exe -> build\bdist.win32\egg\setuptools
copying build\lib\setuptools\cli-64.exe -> build\bdist.win32\egg\setuptools
copying build\lib\setuptools\cli-arm-32.exe -> build\bdist.win32\egg\setuptools
copying build\lib\setuptools\cli.exe -> build\bdist.win32\egg\setuptools
creating build\bdist.win32\egg\setuptools\command
copying build\lib\setuptools\command\alias.py -> build\bdist.win32\egg\setuptools\command
copying build\lib\setuptools\command\bdist_egg.py -> build\bdist.win32\egg\setuptools\command
copying build\lib\setuptools\command\bdist_rpm.py -> build\bdist.win32\egg\setuptools\command
copying build\lib\setuptools\command\bdist_wininst.py -> build\bdist.win32\egg\setuptools\command
copying build\lib\setuptools\command\build_ext.py -> build\bdist.win32\egg\setuptools\command
copying build\lib\setuptools\command\build_py.py -> build\bdist.win32\egg\setuptools\command
copying build\lib\setuptools\command\develop.py -> build\bdist.win32\egg\setuptools\command
copying build\lib\setuptools\command\easy_install.py -> build\bdist.win32\egg\setuptools\command
copying build\lib\setuptools\command\egg_info.py -> build\bdist.win32\egg\setuptools\command
copying build\lib\setuptools\command\install.py -> build\bdist.win32\egg\setuptools\command
copying build\lib\setuptools\command\install_egg_info.py -> build\bdist.win32\egg\setuptools\command
copying build\lib\setuptools\command\install_lib.py -> build\bdist.win32\egg\setuptools\command
copying build\lib\setuptools\command\install_scripts.py -> build\bdist.win32\egg\setuptools\command
copying build\lib\setuptools\command\launcher manifest.xml -> build\bdist.win32\egg\setuptools\command
copying build\lib\setuptools\command\register.py -> build\bdist.win32\egg\setuptools\command
copying build\lib\setuptools\command\rotate.py -> build\bdist.win32\egg\setuptools\command
copying build\lib\setuptools\command\saveopts.py -> build\bdist.win32\egg\setuptools\command
copying build\lib\setuptools\command\sdist.py -> build\bdist.win32\egg\setuptools\command
copying build\lib\setuptools\command\setopt.py -> build\bdist.win32\egg\setuptools\command
copying build\lib\setuptools\command\test.py -> build\bdist.win32\egg\setuptools\command
copying build\lib\setuptools\command\upload.py -> build\bdist.win32\egg\setuptools\command
copying build\lib\setuptools\command\upload_docs.py -> build\bdist.win32\egg\setuptools\command
copying build\lib\setuptools\command\__init__.py -> build\bdist.win32\egg\setuptools\command
copying build\lib\setuptools\compat.py -> build\bdist.win32\egg\setuptools
copying build\lib\setuptools\depends.py -> build\bdist.win32\egg\setuptools
copying build\lib\setuptools\dist.py -> build\bdist.win32\egg\setuptools
copying build\lib\setuptools\extension.py -> build\bdist.win32\egg\setuptools
copying build\lib\setuptools\gui-32.exe -> build\bdist.win32\egg\setuptools
copying build\lib\setuptools\gui-64.exe -> build\bdist.win32\egg\setuptools
copying build\lib\setuptools\gui-arm-32.exe -> build\bdist.win32\egg\setuptools
copying build\lib\setuptools\gui.exe -> build\bdist.win32\egg\setuptools
copying build\lib\setuptools\package_index.py -> build\bdist.win32\egg\setuptools
copying build\lib\setuptools\py24compat.py -> build\bdist.win32\egg\setuptools
copying build\lib\setuptools\py27compat.py -> build\bdist.win32\egg\setuptools
copying build\lib\setuptools\sandbox.py -> build\bdist.win32\egg\setuptools
copying build\lib\setuptools\script template (dev).py -> build\bdist.win32\egg\setuptools
copying build\lib\setuptools\script template.py -> build\bdist.win32\egg\setuptools
copying build\lib\setuptools\site-patch.py -> build\bdist.win32\egg\setuptools
copying build\lib\setuptools\ssl_support.py -> build\bdist.win32\egg\setuptools
creating build\bdist.win32\egg\setuptools\tests
copying build\lib\setuptools\tests\doctest.py -> build\bdist.win32\egg\setuptools\tests
copying build\lib\setuptools\tests\py26compat.py -> build\bdist.win32\egg\setuptools\tests
copying build\lib\setuptools\tests\server.py -> build\bdist.win32\egg\setuptools\tests
copying build\lib\setuptools\tests\test_bdist_egg.py -> build\bdist.win32\egg\setuptools\tests
copying build\lib\setuptools\tests\test_build_ext.py -> build\bdist.win32\egg\setuptools\tests
copying build\lib\setuptools\tests\test_develop.py -> build\bdist.win32\egg\setuptools\tests
copying build\lib\setuptools\tests\test_dist_info.py -> build\bdist.win32\egg\setuptools\tests
copying build\lib\setuptools\tests\test_easy_install.py -> build\bdist.win32\egg\setuptools\tests
copying build\lib\setuptools\tests\test_egg_info.py -> build\bdist.win32\egg\setuptools\tests
copying build\lib\setuptools\tests\test_markerlib.py -> build\bdist.win32\egg\setuptools\tests
copying build\lib\setuptools\tests\test_packageindex.py -> build\bdist.win32\egg\setuptools\tests
copying build\lib\setuptools\tests\test_resources.py -> build\bdist.win32\egg\setuptools\tests
copying build\lib\setuptools\tests\test_sandbox.py -> build\bdist.win32\egg\setuptools\tests
copying build\lib\setuptools\tests\test_sdist.py -> build\bdist.win32\egg\setuptools\tests
copying build\lib\setuptools\tests\test_test.py -> build\bdist.win32\egg\setuptools\tests
copying build\lib\setuptools\tests\test_upload_docs.py -> build\bdist.win32\egg\setuptools\tests
copying build\lib\setuptools\tests\__init__.py -> build\bdist.win32\egg\setuptools\tests
creating build\bdist.win32\egg\setuptools\_backport
creating build\bdist.win32\egg\setuptools\_backport\hashlib
copying build\lib\setuptools\_backport\hashlib\_sha.py -> build\bdist.win32\egg\setuptools\_backport\hashlib
copying build\lib\setuptools\_backport\hashlib\_sha256.py -> build\bdist.win32\egg\setuptools\_backport\hashlib
copying build\lib\setuptools\_backport\hashlib\_sha512.py -> build\bdist.win32\egg\setuptools\_backport\hashlib
copying build\lib\setuptools\_backport\hashlib\__init__.py -> build\bdist.win32\egg\setuptools\_backport\hashlib
copying build\lib\setuptools\_backport\__init__.py -> build\bdist.win32\egg\setuptools\_backport
copying build\lib\setuptools\__init__.py -> build\bdist.win32\egg\setuptools
creating build\bdist.win32\egg\_markerlib
copying build\lib\_markerlib\markers.py -> build\bdist.win32\egg\_markerlib
copying build\lib\_markerlib\__init__.py -> build\bdist.win32\egg\_markerlib
byte-compiling build\bdist.win32\egg\easy_install.py to easy_install.pyc
byte-compiling build\bdist.win32\egg\pkg_resources.py to pkg_resources.pyc
byte-compiling build\bdist.win32\egg\setuptools\archive_util.py to archive_util.pyc
byte-compiling build\bdist.win32\egg\setuptools\command\alias.py to alias.pyc
byte-compiling build\bdist.win32\egg\setuptools\command\bdist_egg.py to bdist_egg.pyc
byte-compiling build\bdist.win32\egg\setuptools\command\bdist_rpm.py to bdist_rpm.pyc
byte-compiling build\bdist.win32\egg\setuptools\command\bdist_wininst.py to bdist_wininst.pyc
byte-compiling build\bdist.win32\egg\setuptools\command\build_ext.py to build_ext.pyc
byte-compiling build\bdist.win32\egg\setuptools\command\build_py.py to build_py.pyc
byte-compiling build\bdist.win32\egg\setuptools\command\develop.py to develop.pyc
byte-compiling build\bdist.win32\egg\setuptools\command\easy_install.py to easy_install.pyc
byte-compiling build\bdist.win32\egg\setuptools\command\egg_info.py to egg_info.pyc
byte-compiling build\bdist.win32\egg\setuptools\command\install.py to install.pyc
byte-compiling build\bdist.win32\egg\setuptools\command\install_egg_info.py to install_egg_info.pyc
byte-compiling build\bdist.win32\egg\setuptools\command\install_lib.py to install_lib.pyc
byte-compiling build\bdist.win32\egg\setuptools\command\install_scripts.py to install_scripts.pyc
byte-compiling build\bdist.win32\egg\setuptools\command\register.py to register.pyc
byte-compiling build\bdist.win32\egg\setuptools\command\rotate.py to rotate.pyc
byte-compiling build\bdist.win32\egg\setuptools\command\saveopts.py to saveopts.pyc
byte-compiling build\bdist.win32\egg\setuptools\command\sdist.py to sdist.pyc
byte-compiling build\bdist.win32\egg\setuptools\command\setopt.py to setopt.pyc
byte-compiling build\bdist.win32\egg\setuptools\command\test.py to test.pyc
byte-compiling build\bdist.win32\egg\setuptools\command\upload.py to upload.pyc
byte-compiling build\bdist.win32\egg\setuptools\command\upload_docs.py to upload_docs.pyc
byte-compiling build\bdist.win32\egg\setuptools\command\__init__.py to __init__.pyc
byte-compiling build\bdist.win32\egg\setuptools\compat.py to compat.pyc
byte-compiling build\bdist.win32\egg\setuptools\depends.py to depends.pyc
byte-compiling build\bdist.win32\egg\setuptools\dist.py to dist.pyc
byte-compiling build\bdist.win32\egg\setuptools\extension.py to extension.pyc
byte-compiling build\bdist.win32\egg\setuptools\package_index.py to package_index.pyc
byte-compiling build\bdist.win32\egg\setuptools\py24compat.py to py24compat.pyc
byte-compiling build\bdist.win32\egg\setuptools\py27compat.py to py27compat.pyc
byte-compiling build\bdist.win32\egg\setuptools\sandbox.py to sandbox.pyc
byte-compiling build\bdist.win32\egg\setuptools\script template (dev).py to script template (dev).pyc
byte-compiling build\bdist.win32\egg\setuptools\script template.py to script template.pyc
byte-compiling build\bdist.win32\egg\setuptools\site-patch.py to site-patch.pyc
byte-compiling build\bdist.win32\egg\setuptools\ssl_support.py to ssl_support.pyc
byte-compiling build\bdist.win32\egg\setuptools\tests\doctest.py to doctest.pyc
byte-compiling build\bdist.win32\egg\setuptools\tests\py26compat.py to py26compat.pyc
byte-compiling build\bdist.win32\egg\setuptools\tests\server.py to server.pyc
byte-compiling build\bdist.win32\egg\setuptools\tests\test_bdist_egg.py to test_bdist_egg.pyc
byte-compiling build\bdist.win32\egg\setuptools\tests\test_build_ext.py to test_build_ext.pyc
byte-compiling build\bdist.win32\egg\setuptools\tests\test_develop.py to test_develop.pyc
byte-compiling build\bdist.win32\egg\setuptools\tests\test_dist_info.py to test_dist_info.pyc
byte-compiling build\bdist.win32\egg\setuptools\tests\test_easy_install.py to test_easy_install.pyc
byte-compiling build\bdist.win32\egg\setuptools\tests\test_egg_info.py to test_egg_info.pyc
byte-compiling build\bdist.win32\egg\setuptools\tests\test_markerlib.py to test_markerlib.pyc
byte-compiling build\bdist.win32\egg\setuptools\tests\test_packageindex.py to test_packageindex.pyc
byte-compiling build\bdist.win32\egg\setuptools\tests\test_resources.py to test_resources.pyc
byte-compiling build\bdist.win32\egg\setuptools\tests\test_sandbox.py to test_sandbox.pyc
byte-compiling build\bdist.win32\egg\setuptools\tests\test_sdist.py to test_sdist.pyc
byte-compiling build\bdist.win32\egg\setuptools\tests\test_test.py to test_test.pyc
byte-compiling build\bdist.win32\egg\setuptools\tests\test_upload_docs.py to test_upload_docs.pyc
byte-compiling build\bdist.win32\egg\setuptools\tests\__init__.py to __init__.pyc
byte-compiling build\bdist.win32\egg\setuptools\_backport\hashlib\_sha.py to _sha.pyc
byte-compiling build\bdist.win32\egg\setuptools\_backport\hashlib\_sha256.py to _sha256.pyc
byte-compiling build\bdist.win32\egg\setuptools\_backport\hashlib\_sha512.py to _sha512.pyc
byte-compiling build\bdist.win32\egg\setuptools\_backport\hashlib\__init__.py to __init__.pyc
byte-compiling build\bdist.win32\egg\setuptools\_backport\__init__.py to __init__.pyc
byte-compiling build\bdist.win32\egg\setuptools\__init__.py to __init__.pyc
byte-compiling build\bdist.win32\egg\_markerlib\markers.py to markers.pyc
byte-compiling build\bdist.win32\egg\_markerlib\__init__.py to __init__.pyc
creating build\bdist.win32\egg\EGG-INFO
copying setuptools.egg-info\PKG-INFO -> build\bdist.win32\egg\EGG-INFO
copying setuptools.egg-info\SOURCES.txt -> build\bdist.win32\egg\EGG-INFO
copying setuptools.egg-info\dependency_links.txt -> build\bdist.win32\egg\EGG-INFO
copying setuptools.egg-info\entry_points.txt -> build\bdist.win32\egg\EGG-INFO
copying setuptools.egg-info\entry_points.txt.orig -> build\bdist.win32\egg\EGG-INFO
copying setuptools.egg-info\requires.txt -> build\bdist.win32\egg\EGG-INFO
copying setuptools.egg-info\top_level.txt -> build\bdist.win32\egg\EGG-INFO
copying setuptools.egg-info\zip-safe -> build\bdist.win32\egg\EGG-INFO
creating dist
creating 'dist\setuptools-0.9.8-py2.7.egg' and adding 'build\bdist.win32\egg' to it
removing 'build\bdist.win32\egg' (and everything under it)
Processing setuptools-0.9.8-py2.7.egg
Copying setuptools-0.9.8-py2.7.egg to c:\python27\lib\site-packages
Adding setuptools 0.9.8 to easy-install.pth file
Installing easy_install-script.py script to C:\Python27\Scripts
Installing easy_install.exe script to C:\Python27\Scripts
Installing easy_install.exe.manifest script to C:\Python27\Scripts
Installing easy_install-2.7-script.py script to C:\Python27\Scripts
Installing easy_install-2.7.exe script to C:\Python27\Scripts
Installing easy_install-2.7.exe.manifest script to C:\Python27\Scripts

Installed c:\python27\lib\site-packages\setuptools-0.9.8-py2.7.egg
Processing dependencies for setuptools==0.9.8
Finished processing dependencies for setuptools==0.9.8

马上实验一下, 好不好用吧..


easy_install 的使用方法: http://blog.csdn.net/ab198604/article/details/8681726


你可能感兴趣的:(windows,python,setuptools)