ModuleNotFoundError: No module named auth0.v3

Good afternoon.

I’m trying to import auth0.v3 but I keep getting errors ModuleNotFoundError: No module named ‘auth0.v3’

Import “auth0.v3.authentication” could not be resolved

Import “auth0.v3.management” could not be resolved

I have been looking at community forums and they provide a solution but that solution has not worked in my case, what can I do?

Thank you so much.
All the best.

Hi @ray.vega

Welcome back to the Auth0 Community!

Can you provide more details regarding your setup, which sdk you are using etc.

Thanks
Dawid

Hello!

I am working in a server environment with Python in Visual Studio Code and running an HTML website.

Package Version


aiohappyeyeballs 2.3.4
aiohttp 3.10.1
aiosignal 1.3.1
attrs 24.1.0
auth0-python 3.24.1
bcrypt 4.2.0
blinker 1.8.2
certifi 2024.7.4
cffi 1.16.0
charset-normalizer 3.3.2
click 8.1.7
colorama 0.4.6
cryptography 42.0.8
Flask 3.0.3
Flask-Bcrypt 1.0.1
Flask-Cors 4.0.1
Flask-Login 0.6.3
Flask-SQLAlchemy 3.1.1
frozenlist 1.4.1
greenlet 3.0.3
idna 3.7
itsdangerous 2.2.0
Jinja2 3.1.4
MarkupSafe 2.1.5
multidict 6.0.5
numpy 2.0.1
pandas 2.2.2
pip 24.2
pycparser 2.22
PyJWT 2.9.0
PyMySQL 1.1.1
python-dateutil 2.9.0.post0
python-dotenv 1.0.1
pytz 2024.1
requests 2.32.3
six 1.16.0
SQLAlchemy 2.0.31
typing_extensions 4.12.2
tzdata 2024.1
urllib3 2.2.2
Werkzeug 3.0.3
wget 3.2
yarl 1.9.4

I just downgraded, to be able to maintain the form:
from auth0.v3.authentication import GetToken
from auth0.v3.management import Auth0

I have restarted the computer to reset everything and there are no positive results. I do not know what else to do…

All the best.

Hi @ray.vega

Thank you for the pacakge list, I belive the error that you see comes from specifying the API version. Have you tried to import modules without v3 ?

from auth0.authentication import GetToken etc.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.