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,或者其他,以实际名称为准。
解决:
分类:
异常处理
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 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()字符串操作函数