常用pip使用豆瓣镜像安装插件方法
-i http://pypi.douban.com/simple/ --trusted-host=pypi.douban.com/simple
安装Django3.2
pip install django==3.2 -i http://pypi.douban.com/simple/ --trusted-host=pypi.douban.com/simple
ModuleNotFoundError: No module named 'drf_yasg'
pip install drf_yasg
ModuleNotFoundError: No module named 'rest_framework'
pip install djangorestframework
ModuleNotFoundError: No module named 'drf_yasg
pip install drf_yasg
2
3