(未解决)WIN8下使用POWERSHELL安装python easy_install无法成功
2014-05-10 10:45
531 查看
按照https://pypi.python.org/pypi/setuptools#windows-8-powershell介绍的方法, 安装未成功。安装似乎没有启动, 也未安装成功。
Using Windows 8 or later, it's possible to install with one simple Powershell command. Start up Powershell and paste this command:
You must start the Powershell with Administrative privileges or you may choose to install a user-local installation:
If you have Python 3.3 or later, you can use the py command to install to different Python versions. For example, to install to Python 3.3 if you have Python 2.7 installed:
The recommended way to install setuptools on Windows is to download ez_setup.py and run it. The script will download the appropriate .egg file and install it for you.
Once installation is complete, you will find an easy_install program in your Python Scripts subdirectory. For simple invocation and best results, add this directory to your PATH environment variable, if it is not already present. If you did a user-local install, the Scripts subdirectory is $env:APPDATA\Python\Scripts.
Windows 8 (Powershell)
For best results, uninstall previous versions FIRST (see Uninstalling).Using Windows 8 or later, it's possible to install with one simple Powershell command. Start up Powershell and paste this command:
> (Invoke-WebRequest https://bootstrap.pypa.io/ez_setup.py).Content | python -
You must start the Powershell with Administrative privileges or you may choose to install a user-local installation:
> (Invoke-WebRequest https://bootstrap.pypa.io/ez_setup.py).Content | python - --user
If you have Python 3.3 or later, you can use the py command to install to different Python versions. For example, to install to Python 3.3 if you have Python 2.7 installed:
> (Invoke-WebRequest https://bootstrap.pypa.io/ez_setup.py).Content | py -3 -
The recommended way to install setuptools on Windows is to download ez_setup.py and run it. The script will download the appropriate .egg file and install it for you.
Once installation is complete, you will find an easy_install program in your Python Scripts subdirectory. For simple invocation and best results, add this directory to your PATH environment variable, if it is not already present. If you did a user-local install, the Scripts subdirectory is $env:APPDATA\Python\Scripts.
相关文章推荐
- python2.7无法使用pip(安装easy_install)
- python2.7无法使用pip的解决方法(安装easy_install)
- (win8 64位)Python安装新模块(使用easy_install)
- python----easy_install 安装和使用
- 《Python网络编程》Part3 Win7系统下使用easy_install和pip安装python的包
- python - easy_install的安装和使用
- 安装,使用Python easy_install 模块
- 使用easy_install安装BeautifulSoup——Python
- 使用easy_install安装python的包
- Python easy_install 安装使用
- Python使用easy-install安装时报UnicodeDecodeError的解决方法
- Python 开发中easy_install的安装及使用
- python - easy_install的安装和使用
- pip和easy_install的使用对比,python库文件安装方法
- python - easy_install的安装和使用
- python使用easy_install安装支持excel2007操作的openpyxl
- python - easy_install的安装和使用
- 使用easy_install安装和卸载python扩展包
- linux环境python安装setuptools(使用easy_install)的必要条件