在创建第一个django项目时输入:
django-admin startproject HelloWorld
报错:
pkg_resources.DistributionNotFound: The 'pytz' distribution was not found and is required by Django
参考了网上很多方法都没有解决,最后解决办法是:
安装pytz模块(时区模块)
python -m pip install pytz
在创建第一个django项目时输入:
django-admin startproject HelloWorld
报错:
pkg_resources.DistributionNotFound: The 'pytz' distribution was not found and is required by Django
参考了网上很多方法都没有解决,最后解决办法是:
安装pytz模块(时区模块)
python -m pip install pytz
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。