Windows下安装setuptools, pip和virtualenv
第一步:从官方主页下载最新的virtualenv版本:https://pypi.python.org/pypi/virtualenv (最新版本是1.10.1)
解压后,在目录virtualenv_support下有两个压缩包,分别是pip-1.4.1.tar.gz 和 setuptools-0.9.8.tar.gz
第二步:解压setuptools-0.9.8.tar.gz,进入解压后的目录执行命令:
py setup.py install
py setup.py install
py setup.py install
C:\>pip listpip (1.4.1)setuptools (0.9.8)virtualenv (1.10.1)
C:\test>virtualenv testEnvUsing base prefix 'C:\\Python33'New python executable in testEnv\Scripts\python.exeInstalling Setuptools..................................................................................................................................................................................................................................................done.Installing Pip.......................................................................................................................................................................................................................................................................................................................................done.