当前位置:网站首页>pip只下载不安装
pip只下载不安装
2022-07-06 20:16:00 【人生匆匆】
首先,python -m pip会使用您指定为python的Python解释器来执行pip。因此,/usr/bin/python3.7 -m pip表示您正在执行位于/usr/bin/python3.7的解释器的pip
1、只下载,不安装
python -m pip download -d /home/packs setuptools==33.1.1 #下载setuptools==33.1.1模块,在/home/packs目录下
2、安装
python -m pip install setuptools==33.1.1 #安装setuptools==33.1.1模块,需要有网环境
python -m pip install --no-index --find-links=/home/packs setuptools==33.1.1 #在/home/packs找到setuptools==33.1.1模块包进行安装
echo 'setuptools==33.1.1' >requirements.txt #选择需要安装的第三方模块
python -m pip install --no-index --find-links=/home/packs -r requirements.txt #通过requirements.txt里面的名称,在/home/packs找到对应的模块包进行安装
3、卸载
可加版本号,或者不加
python -m pip uninstall setuptools
边栏推荐
- CVPR 2022 best paper candidate | pip: six inertial sensors realize whole body dynamic capture and force estimation
- Starting from 1.5, build a micro Service Framework -- log tracking traceid
- Domcontentloaded and window onload
- Change your posture to do operation and maintenance! GOPs 2022 Shenzhen station highlights first!
- 【安全的办公和生产力应用程序】上海道宁为您提供ONLYOFFICE下载、试用、教程
- 杰理之电话本获取【篇】
- Matlab Error (Matrix dimensions must agree)
- [dream database] add the task of automatically collecting statistical information
- What about SSL certificate errors? Solutions to common SSL certificate errors in browsers
- 杰理之开启经典蓝牙 HID 手机的显示图标为键盘设置【篇】
猜你喜欢
随机推荐
The version control of 2021 version is missing. Handling method
Cocos2d-x Box2D物理引擎编译设置
Oracle connection pool is not used for a long time, and the connection fails
「小样本深度学习图像识别」最新2022综述
Mathematical induction and recursion
Opencv environment, and open a local PC camera.
unrecognized selector sent to instance 0x10b34e810
【Swift】学习笔记(一)——熟知 基础数据类型,编码风格,元组,主张
房费制——登录优化
杰理之发射端在接收端关机之后假死机【篇】
Codeforces Round #264 (Div. 2) C Gargari and Bishops 【暴力】
如何替换模型的骨干网络(backbone)
Create applet from 0
Unity uses maskablegraphic to draw a line with an arrow
首届“量子计算+金融科技应用”研讨会在京成功举办
SQL Tuning Advisor一个错误ORA-00600: internal error code, arguments: [kesqsMakeBindValue:obj]
Install torch 0.4.1
Change your posture to do operation and maintenance! GOPs 2022 Shenzhen station highlights first!
HDU ACM 4578 Transformation->段树-间隔的变化
Jerry's RTC clock development [chapter]