Django rest framework 我正在尝试将djangorest api contactsapp部署到heroku
我是python和Djangorest框架的新手。 当我运行python manage.py check时,我得到ModuleNotFoundError没有名为“drf yasg”的模块。 事实上,我已经使用pip安装drf yasg安装了这个模块。我还使用pipenv install drf yasg在pipfile和pipfile.lock文件中安装了它 我还在settings.py文件中添加了模块,但错误仍然存在。我Django rest framework 我正在尝试将djangorest api contactsapp部署到heroku,django-rest-framework,drf-yasg,Django Rest Framework,Drf Yasg,我是python和Djangorest框架的新手。 当我运行python manage.py check时,我得到ModuleNotFoundError没有名为“drf yasg”的模块。 事实上,我已经使用pip安装drf yasg安装了这个模块。我还使用pipenv install drf yasg在pipfile和pipfile.lock文件中安装了它 我还在settings.py文件中添加了模块,但错误仍然存在。我 运行pip冻结。drf yasg是否存在于输出中?是的,它的存在,它甚至
运行
pip冻结
。drf yasg是否存在于输出中?是的,它的存在,它甚至存在于PIPFILE中都无法重现问题。你能把pipfile和settings.pyrun的内容贴出来吗。drf yasg是否存在于输出中?是的,它的存在,它甚至存在于PIPFILE中都无法重现问题。你能把pipfile和settings.py的内容发布一下吗