Skip to content

authlib module not found error #62

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
raveenb opened this issue Dec 4, 2019 · 2 comments
Closed

authlib module not found error #62

raveenb opened this issue Dec 4, 2019 · 2 comments

Comments

@raveenb
Copy link

raveenb commented Dec 4, 2019

I am getting a module not found error for authlib, i had followed the instructions as written

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/flask/cli.py", line 235, in locate_app
    __import__(module_name)
  File "/Users/raveenbeemsingh/Developer/projects/flask_oauth/example-oauth2-server/app.py", line 1, in <module>
    from website.app import create_app
  File "/Users/raveenbeemsingh/Developer/projects/flask_oauth/example-oauth2-server/website/app.py", line 3, in <module>
    from .models import db
  File "/Users/raveenbeemsingh/Developer/projects/flask_oauth/example-oauth2-server/website/models.py", line 3, in <module>
    from authlib.integrations.sqla_oauth2 import (
ModuleNotFoundError: No module named 'authlib'
@raveenb
Copy link
Author

raveenb commented Dec 4, 2019

this is my directory structure
i am using a virtual env and have installed all libs in that and activated it too

 ~/Developer/…/flask_oauth/example-oauth2-server >  venv >
README.md        __pycache__      app.py           db.sqlite        requirements.txt venv             website

@lepture
Copy link
Member

lepture commented Dec 5, 2019

try to install:

$ pip install -r requirements.txt

find out if it is not installed successful with:

$ pip freeze

@lepture lepture closed this as completed May 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants