本文主要是介绍Django报错Could not find a version that satisfies the requirement pytz (from Django)(from versions: ),希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
安装很多次了,第一次遇到这个报错,记录一下:
报错:Could not find a version that satisfies the requirement pytz (from Django) (from versions: )
No matching distribution found for pytz (from Django)
查看虚拟环境,发现Django没有安装上。
解决方案:
1.指定个旧版本版本:pip install Django==3.0.1 -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn
参考文档:https://blog.csdn.net/xiaobendan_1989/article/details/90647827
这篇关于Django报错Could not find a version that satisfies the requirement pytz (from Django)(from versions: )的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!