Import "appwrite.exceptions" could not be resolved I tried using many versions of appwrite but this error still occuring. Please help me to fix it.
@Support
What appwrite package are you using, what runtime is the function, what's the code look like? This is very vague.
`from appwrite.client import Client from appwrite.services.databases import Databases from appwrite.exceptions import AppwriteException # This is causing the issue
Appwrite client initialization
try:
appwrite_client = Client()
appwrite_client.set_endpoint(APPWRITE_ENDPOINT)
\
.set_project(APPWRITE_PROJECT_ID)
\
.set_key(APPWRITE_API_KEY)
databases = Databases(appwrite_client)
except Exception as e:
print(f"Failed to initialize Appwrite client: {e}")`
Python 3.13.3 Name: appwrite Version: 9.0.3
I also tried other versions but still have same errors
instead of appwrite.exceptions could you try just appwrite.exception
Recommended threads
- I can't UNPAUSE my project with the free...
I received an email notifying me that my project had been paused due to inactivity, and the email included a link to "Restore project." However, that button red...
- Error trying to deploy functions from CL...
✗ Error • on-auth-create (6a00b2ab000c9ce2949b) • Server Error ✗ Error: No functions were pushed. Prject ID: 69ffe0270033a4ac420a
- Intermittent Deploy and Execution Errors...
Project: project-fra-658e2f5f4ba30df91177 Function ID: 69bde006001c56757f49 **Several execution errors with:** Timed out waiting for runtime.\nError Code: 400...