当前位置:网站首页>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
边栏推荐
- Jericho turns on the display icon of the classic Bluetooth hid mobile phone to set the keyboard [chapter]
- Oracle connection pool is not used for a long time, and the connection fails
- input_delay
- Stored procedures and functions (MySQL)
- Use of tensorboard
- leetcode
- Simple bubble sort
- 亚像素级角点检测Opencv-cornerSubPix
- Household appliance industry under the "retail is king": what is the industry consensus?
- SQL Tuning Advisor一个错误ORA-00600: internal error code, arguments: [kesqsMakeBindValue:obj]
猜你喜欢

【安全的办公和生产力应用程序】上海道宁为您提供ONLYOFFICE下载、试用、教程

Error: could not find a version that satisfies the requirement xxxxx (from versions: none) solutions

Flutter3.0了,小程序不止于移动应用跨端运行

input_delay

“零售为王”下的家电产业:什么是行业共识?

Construction of knowledge map of mall commodities

Starting from 1.5, build a micro Service Framework -- log tracking traceid

Laravel php artisan 自动生成Model+Migrate+Controller 命令大全

Change your posture to do operation and maintenance! GOPs 2022 Shenzhen station highlights first!

掘金量化:通过history方法获取数据,和新浪财经,雪球同用等比复权因子。不同于同花顺
随机推荐
美国空军研究实验室《探索深度学习系统的脆弱性和稳健性》2022年最新85页技术报告
How does C language (string) delete a specified character in a string?
「小样本深度学习图像识别」最新2022综述
SQL Tuning Advisor一个错误ORA-00600: internal error code, arguments: [kesqsMakeBindValue:obj]
Kubernetes source code analysis (II) -- resource
【Swift】学习笔记(一)——熟知 基础数据类型,编码风格,元组,主张
How to find file accessed / created just feed minutes ago
注意力机制原理
Jerry's ble exiting Bluetooth mode card machine [chapter]
Variables, process control and cursors (MySQL)
从 1.5 开始搭建一个微服务框架——日志追踪 traceId
腾讯云原生数据库TDSQL-C入选信通院《云原生产品目录》
cocos3——8. Implementation Guide for beginners
函数重入、函数重载、函数重写自己理解
unrecognized selector sent to instance 0x10b34e810
应用程序启动速度的优化
DOMContentLoaded和window.onload
[dream database] add the task of automatically collecting statistical information
[untitled]
Cocos2d-x box2d physical engine compilation settings