Heroku Python Django App Deployment Failure: No Module Named 'oauth2_provider'
I am following the Django OAuth Toolkit tutorial. I have the app running successfully on my local server with Django OAuth Toolkit installed. When I try to deploy to Heroku I ge
Solution 1:
You're missing this package in your requirements.txt
file. So add django-oauth-toolkit
there and it should work
Solution 2:
Try installing the package "django-oauth-toolkit", execute:
pip install -U django-oauth-toolkit
or
pip3 install -U django-oauth-toolkit
Another fix could be upgrade your python version, I got this problem with python 2.7, but not with python 3.5
Post a Comment for "Heroku Python Django App Deployment Failure: No Module Named 'oauth2_provider'"