首页 > 解决方案 > 我正在尝试将我的 djangorest api contactsapp 部署到 heroku

问题描述

我是 python 和 djangorestframework 的新手。当我运行 python manage.py 检查时,我得到 ModuleNotFoundError No module named 'drf-yasg'。事实上,我已经使用 pip install drf-yasg 安装了这个模块。我还使用 pipenv install drf-yasg 将它安装在 pipfile 和 Pipfile.lock 文件中我还在 settings.py 文件中添加了模块,但错误仍然存​​在。我 这里是错误的截图

标签: django-rest-frameworkdrf-yasg

解决方案


推荐阅读