当前位置:网站首页>pip common commands and changing source files
pip common commands and changing source files
2022-08-09 10:45:00 【Fuzzy Pack】
We know:
Command format
pip's download update command is.: very important
pip install/update/upgrade [optional command] Source location package filename[==version, default latest ]Explanation
install/update/upgrade: Choose to download or update or [update with surrounding dependencies].The first two are actions for this package, andupgradais not so simple, for example
Note: upgrade is forbidden, use less
$ pip upgrade tensorflowMany people think this code is just an update of tensorflow, but it's not. It also includes numpy and padas even if you don't know itAll packages are updated to the latest.
2. [optional command]:
-i: specify the installation source of the library-U: upgrade The package that was already installed will not be installed with a new version without U, and will be updated to the latest version with U.- Source location
For example, the following example: download from Tsinghua source.
# Install tensorflow from Tsinghua with version number 1.14pip install -i https://pypi.tuna.tsinghua.edu.cn/simple tensorflow-gpu==1.14.0- [==version, latest by default]
The above example is to download the 1.14.0 version oftensorflow-gpu
For a big example:
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --upgrade tensorflow-gpu==1.14.0边栏推荐
- 小程序员的发展计划
- TensorFlow—计算梯度与控制梯度 : tf.gradients和compute_gradients和apply_gradients和clip_by_global_norm控制梯度
- [华为云在线课程][SQL语法分类][数据操作][学习笔记]
- 如何在gazebo进行 joint的转动控制
- unix环境编程 第十五章 15.8信号量
- TELNET协议相关RFC
- unix环境编程 第十五章 15.10 POSIX信号量
- 机器学习--线性回归(Linear Regression)
- Solve the ali cloud oss - the original 】 【 exe double-click response can't open, to provide a solution
- jvm-类加载系统
猜你喜欢
随机推荐
TensorFlow:NameError: name ‘input_data’ is not defined
autogluon安装,使用指南,代码
实现下拉加载更多
WUSTOJ:n个素数构成等差数列
Oracle数据库常用函数总结
Solve the ali cloud oss - the original 】 【 exe double-click response can't open, to provide a solution
Unix System Programming Chapter 15 15.2 Pipes
一天半的结果——xmms on E2
关于页面初始化
pytorch widedeep文档
MySQL和MyEclipse的数据库连接操作
商业技术解决方案与高阶技术专题 - 数据可视化专题
中断系统结构及中断控制
LM小型可编程控制器软件(基于CoDeSys)笔记二十六:plc的数据存储区(模拟量输入通道部分)
史上最小白之《Word2vec》详解
按键精灵之输出文本
985毕业,工作3年,分享从阿里辞职到了国企的一路辛酸和经验
Umi Hooks
深度学习--生成对抗网络(Generative Adversarial Nets)
Database connection operations for MySQL and MyEclipse









