Python安装setuptools教程及步骤详解
1.在python包管理网站下载setuptools · PyPI
2.解压缩,里面有setup.py文件
3.在win10的terminal里输入 cd /d setup.py的路径
4.再输入 python setup.py install
就成功安装setuptools
第三方模块一般存在Lib/site-package文件里
E:\Users\YLZ\AppData\Local\Programs\Python\Python311\Lib\site-packages
在虚拟环境里安装setuptools
安装.egg文件,可以使用setuptools里的 easy_install xxx.egg
安装.whl文件,可以使用easy_install xxx.whl 或者使用pip install xxx.whl
easy_install pip=23.0 安装23.0版本的pip
easy_install-3.11 ''requests==2.14.1'' 在python3.11下安装2.14.1版本的requests