当前位置:网站首页>PIP free export with path (@ file: / / /) notes
PIP free export with path (@ file: / / /) notes
2022-04-23 05:15:00 【zzzzls~】
problem
stay conda Use in sandbox environment pip freeze > requirements.txt Command to export installed modules , Some of these modules show @ file:///..., Not the specific version number , Here's the picture :

here , If we use it directly on other machines pip install -r requirements.txt When installing the module , You will encounter the following errors :
ERROR: Could not install packages due to an EnvironmentError: [Errno 2] No such
file or directory: 'C:\\ci\\cffi_1600699250966\\work'
reason
This is a pip A special syntax for installing software packages ( since 19.1 Start supported )PEP404,
But this path depends on the environment ,file:///URL Available only on the local file system , You can't put the generated requirements.txt Make the file available to others
solve
When you encounter such problems , You can temporarily consider using the following command to generate requirements.txt file
pip list --format=freeze > requirements.txt
In the file exported with the above command , It will contain the following packages :
distribute,pip,setuptools,wheel, It is recommended to manually delete !
Reference resources
版权声明
本文为[zzzzls~]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204220547251903.html
边栏推荐
- One month countdown, pgconf What are the highlights of the latest outlook of asia2021 Asian Conference?
- 和谐宿舍(线性dp / 区间dp)
- 学习笔记:Unity CustomSRP-13-ColorGrading
- 什么是指令周期,机器周期,和时钟周期?
- C language hash dictionary and notes
- Deep learning notes - semantic segmentation and data sets
- Cross border e-commerce | Facebook and instagram: which social media is more suitable for you?
- 引入精益管理方式,需要提前做到这九点
- Locks and transactions in MySQL
- MySQL memo (for your own query)
猜你喜欢
![[winui3] write an imitation Explorer file manager](/img/3e/62794f1939da7f36f7a4e9dbf0aa7a.png)
[winui3] write an imitation Explorer file manager

源码剖析Redis中如何使用跳表的

4 个最常见的自动化测试挑战及应对措施

改进DevSecOps框架的 5 大关键技术

Deep learning notes - fine tuning
![View, modify and delete [database] table](/img/a2/fcb38f2006772a1ec45cab520620ba.png)
View, modify and delete [database] table

工具在数字化转型中扮演了什么样的角色?

好的测试数据管理,到底要怎么做?

At pgconf Asia Chinese technology forum, listen to Tencent cloud experts' in-depth understanding of database technology

JSP-----JSP简介
随机推荐
何时适合进行自动化测试?(下)
C. Tree infection (simulation + greed)
Day.js 常用方法
Golang memory escape
Locks and transactions in MySQL
Data security has become a hidden danger. Let's see how vivo can make "user data" armor again
Routing parameters
Basic knowledge of vegetable chicken database
Discussion on flow restriction
无线网怎么用手机验证码登录解决方案
Independent station operation | Facebook marketing artifact - chat robot manychat
Restful toolkit of idea plug-in
《2021多多阅读报告》发布,95后、00后图书消费潜力攀升
Other problems encountered in debugging fingerprints
MySQL uses or to query SQL, and SQL execution is very slow
Deep learning notes - object detection and dataset + anchor box
How can continuous integration (CI) / continuous delivery (CD) revolutionize automated testing
MySQL 慢查询
[database] MySQL basic operation (basic operation ~)
TypeError: ‘Collection‘ object is not callable. If you meant to call the ......