当前位置:网站首页>PIP related commands
PIP related commands
2022-07-07 18:16:00 【Xiaoshuai acridine】
1. View package information ( Include its dependent packages )
pip show numpy
2. Check the versions of a package
pip install numpy==
3. Save the list to the specified file
pip freeze > requiremnets.txt
4. Check compatibility
Verify whether the installed libraries have compatibility dependencies
pip check package-name
5.pip install
mock-django~=0.6.10
This means that it will choose the latest version of the package , Greater than or equal to 0.6.10, But it's still 0.6.* edition , So I won't download, for example 0.7.0. If package maintainers respect semantic versioning ( This indicates that major changes should only occur in major releases ), It ensures that you get a safe fix but maintain backward compatibility .
https://stackoverflow.com/questions/39590187/in-requirements-txt-what-does-tilde-equals-mean
边栏推荐
- 测试3个月,成功入职 “字节”,我的面试心得总结
- Chapter 2 building CRM project development environment (building development environment)
- Is it safe to open an online futures account now? How many regular futures companies are there in China?
- debian10编译安装mysql
- 数学分析_笔记_第11章:Fourier级数
- 讨论| 坦白局,工业 AR 应用为什么难落地?
- Chapter 3 business function development (to remember account and password)
- AI 击败了人类,设计了更好的经济机制
- 【蓝桥杯集训100题】scratch从小到大排序 蓝桥杯scratch比赛专项预测编程题 集训模拟练习题第17题
- [trusted computing] Lesson 13: TPM extended authorization and key management
猜你喜欢
Taffydb open source JS database
mui侧边导航锚点定位js特效
Mrs offline data analysis: process OBS data through Flink job
Using stored procedures, timers, triggers to solve data analysis problems
Year SQL audit platform
How to clean when win11 C disk is full? Win11 method of cleaning C disk
Cartoon | who is the first ide in the universe?
[trusted computing] Lesson 12: TPM authorization and conversation
Download, installation and development environment construction of "harmonyos" deveco
基于百度飞浆平台(EasyDL)设计的人脸识别考勤系统
随机推荐
Tips of the week 136: unordered containers
回归测试的分类
Tips of this week 135: test the contract instead of implementation
AI defeated mankind and designed a better economic mechanism
Introduction of common API for socket programming and code implementation of socket, select, poll, epoll high concurrency server model
[tpm2.0 principle and Application guide] Chapter 5, 7 and 8
Sanxian Guidong JS game source code
SD_DATA_SEND_SHIFT_REGISTER
[trusted computing] Lesson 12: TPM authorization and conversation
Personal best practice demo sharing of enum + validation
什么是敏捷测试
SD_DATA_RECEIVE_SHIFT_REGISTER
< code random recording two brushes> linked list
Ten thousand words nanny level long article -- offline installation guide for datahub of LinkedIn metadata management platform
In depth understanding of USB communication protocol
Download, installation and development environment construction of "harmonyos" deveco
[OKR target management] case analysis
<代码随想录二刷>链表
Pro2:修改div块的颜色
How to clean when win11 C disk is full? Win11 method of cleaning C disk