网络编程
位置:首页>> 网络编程>> Python编程>> Python中安装easy_install的方法

Python中安装easy_install的方法

作者:TigerCatcher  发布时间:2022-06-22 20:30:00 

标签:Python,easy,install

easy_install是一个python的扩展包,主要是用来简化python安装第三方安装包,在安装了easy_install之后,安装python第三方安装包就只需要在命令行中输入:easy_install packagename,然后程序会自动搜索相应版本的安装包并配置各种文件,免去了手工下载安装的复杂度。

1、首先要先用百度搜索easy_install,找到其下载页面

Python中安装easy_install的方法

2、在这个页面中,找到ez_setup.py这个链接

Python中安装easy_install的方法

3、下载这个文件到本地

Python中安装easy_install的方法

4、在命令行中运行ez_setup.py

Python中安装easy_install的方法

5、然后就会在python的安装目录中生成scripts目录,其中有easy_install.exe

Python中安装easy_install的方法

6、设置环境变量

Python中安装easy_install的方法

Python中安装easy_install的方法

7、最后可以在命令行运行easy_install了

Python中安装easy_install的方法

0
投稿

猜你喜欢

手机版 网络编程 asp之家 www.aspxhome.com