django安装依赖包报错No such file or directory: 'requirement.txt'和警告You are using pip version 22.0.4; however, version 23.0.1 is available.

 

ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirement.txt'
WARNING: You are using pip version 22.0.4; however, version 23.0.1 is available.
You should consider upgrading via the 'D:\BaiduSyncdisk\dva\django-vue-admin-main\backend\env\Scripts\python.exe -m pip install --upgrade pip' command.

 

 

 

分析:

WARNING: You are using pip version 22.0.4; however, version 23.0.1 is available.说明pip版本低,需要升级,升级命令:python -m pip install --upgrade pip

ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirement.txt',说明找不到文件,检查你的依赖文件名称是requirement还是requirements,或者其他,以实际名称为准。

 

解决:

 

 

 

posted @   侬侬发  阅读(908)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 地球OL攻略 —— 某应届生求职总结
· 提示词工程——AI应用必不可少的技术
· Open-Sora 2.0 重磅开源!
· 周边上新:园子的第一款马克杯温暖上架
历史上的今天:
2022-04-13 json和字典dict的区别
2022-04-13 理解OAuth 2.0
2022-04-13 RESTful API 设计指南
2022-04-13 @csrf_exempt
2022-04-13 json函数
2022-04-13 url函数
2022-04-13 .join()字符串操作函数
点击右上角即可分享
微信分享提示