当前位置:网站首页>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, andupgrada
is not so simple, for example
Note: upgrade is forbidden, use less
$ pip upgrade tensorflow
Many 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
边栏推荐
猜你喜欢
【原创】VMware Workstation实现Openwrt软路由功能,非ESXI,内容非常详细!
机器学习--线性回归(Linear Regression)
人物 | 从程序员到架构师,我是如何快速成长的?
【 original 】 VMware Workstation implementation Openwrt soft routing, the ESXI, content is very detailed!
【原创】解决阿里云oss-browser.exe双击没反应打不开,提供一种解决方案
2021-01-11-雪碧图做表情管理器
MySQL索引的B+树到底有多高?
[Error record] Solve the problem that ASRock J3455-ITX cannot be turned on without a monitor plugged in
arcgis制图之天地图符号样式配置
机器学习--朴素贝叶斯(Naive Bayes)
随机推荐
tensorflow实现线性方程的参数调整
上传张最近做的E2用的xmms的界面的截图
一键完成物联网产品注册,快速体验在线调试设备
按键精灵之输出文本
unix环境编程 第十五章 15.6 XSI IPC
【 original 】 VMware Workstation implementation Openwrt soft routing, the ESXI, content is very detailed!
Oracle数据库:for update 和for update nowait的区别
解决1.tensorflow运行使用CPU不使用GPU 2.tensorflow环境下的GPU版本号 3.tensorflow和cuda以及cudnn版本对应问题 4.查看cuda和cudnn版本
Oracle数据库常用函数总结
详细的np.matmul / np.dot / np.multiply / tf.matmul / tf.multiply / *
非科班毕业生,五面阿里:四轮技术面+HR一面已拿offer
arcgis制图之天地图符号样式配置
山东招远通报星童幼儿园食品安全问题最新调查情况
聚类了解
OpenSSF的开源软件风险评估工具:Scorecards
【报错记录】解决华擎J3455-ITX不插显示器无法开机的问题
985毕业,工作3年,分享从阿里辞职到了国企的一路辛酸和经验
源代码阅读器项目
unix环境编程 第十五章 15.5FIFO
Database connection operations for MySQL and MyEclipse