-
Notifications
You must be signed in to change notification settings - Fork 32
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
ImportError: cannot import name 'SyncGoTrueClient' from 'gotrue' #336
Comments
Hey @McLamy, Thanks for the query. Quick check: what version of Supabase Python are you using? |
Hey @J0, thanks for getting back. The version is 1.1.1. Thanks again for getting back and furthermore for your outstanding contributions! |
Thanks @McLamy, |
As of 29.01.2024 you need to install Version 1.3 of gotrue for supabase to work consistently... Use the following Command to check if you have gotrue installed in your venv and its version: Then if its not 1.3 uninstall and reinstall it as 1.3 like so: Keep in mind that as Supabase changes this comment too will become depricated and you will have to install newer versions. To check what version you can use type: |
Hey everyone,
since a couple of days I'm facing the mentioned issue in my python script.
The import comes from "from supabase import create_client, Client" and is implemented like the official supabase docs suggest:
url: str = os.environ.get("SUPABASE_URL")
key: str = os.environ.get("SUPABASE_KEY")
supabase: Client = create_client(url, key)
It would be great if someone can give me a hint how to fix this. Many thanks in advance!
The text was updated successfully, but these errors were encountered: