当前位置:网站首页>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
边栏推荐
- Introduction of common API for socket programming and code implementation of socket, select, poll, epoll high concurrency server model
- 小程序中实现付款功能
- 磁盘存储链式的B树与B+树
- 2022年理财产品的一般收益率是多少?
- Test for 3 months, successful entry "byte", my interview experience summary
- Tips for this week 140: constants: safety idioms
- AI 击败了人类,设计了更好的经济机制
- [OKR target management] value analysis
- debian10系统问题总结
- Download, installation and development environment construction of "harmonyos" deveco
猜你喜欢
Understanding of 12 methods of enterprise management
AI 击败了人类,设计了更好的经济机制
Mui side navigation anchor positioning JS special effect
深度学习-制作自己的数据集
Tips of the week 136: unordered containers
2021年全国平均工资出炉,你达标了吗?
JS pull down the curtain JS special effect display layer
[paddleseg source code reading] add boundary IOU calculation in paddleseg validation (1) -- val.py file details tips
TaffyDB开源的JS数据库
测试3个月,成功入职 “字节”,我的面试心得总结
随机推荐
[trusted computing] Lesson 11: TPM password resource management (III) NV index and PCR
Use onedns to perfectly solve the optimization problem of office network
What skills can you master to be a "master tester" when doing software testing?
Hash, bitmap and bloom filter for mass data De duplication
[trusted computing] Lesson 13: TPM extended authorization and key management
pip相关命令
Mrs offline data analysis: process OBS data through Flink job
Five simple ways to troubleshoot with Stace
Understanding of 12 methods of enterprise management
[principles and technologies of network attack and Defense] Chapter 5: denial of service attack
[tpm2.0 principle and Application guide] Chapter 1-3
Interviewer: why is the page too laggy and how to solve it? [test interview question sharing]
Chapter 2 building CRM project development environment (building development environment)
Live broadcast software construction, canvas Text Bold
性能测试过程和计划
Hutool - 轻量级 DB 操作解决方案
Introduction to OTA technology of Internet of things
Unlike the relatively short-lived industrial chain of consumer Internet, the industrial chain of industrial Internet is quite long
SD_DATA_SEND_SHIFT_REGISTER
Debian10 compile and install MySQL