你好,请问我在yolov5最后环境的配置中运行pip install -U -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple时,系统提示ERROR: Could not find a version that satisfies the requirement gitpython>=3.1.30 ,请问这个该怎么解决,感谢感谢

你好,请问我在yolov5最后环境的配置中运行pip install -U -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple时,系统提示ERROR: Could not find a version that satisfies the requirement gitpython>=3.1.30 ,请问这个该怎么解决,感谢感谢

你好,按照您给出的信息,应该是在 requirements.txt 文件中指定的 GitPython 版本要求无法满足,你可以尝试一下:
1.更新 pip
2.检查 Python 版本,GitPython 3.1.30 需要 Python 3.6 或更高版本,你可以通过在命令行中运行 python --version 来检查你的 Python 版本
3.更换镜像源:尝试将 pip 的镜像源更换为清华或者其他镜像源
可以参考一下这位博主给出的解决方案:https://blog.csdn.net/JineD/article/details/124774570
希望对你有帮助!😊