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
- DeploymentStatus enum value `canceled` m...
Hey, Sorry if it has been reported already, I found an issue using the Dart SDK where the `canceled` enum value is missing from `DeploymentStatus`. This causes...
- Synchronous function execution timeout w...
I am calling server functions with xasync = true and I still get this error message. Synchronous function execution timed out. Use asynchronous execution inste...
- Function running for more than 2 hours i...
This is my projectID: 669fe01b003800dd0503 Cloud functionID is 696ea05400147eb8eb3b I hope this doesn't count against my GB-hours?