安装很多次了,第一次遇到这个报错,记录一下:
报错: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