[solved] Python - Import "appwrite.client" could not be resolvedPylancereportMissingImports
- 0
- Self Hosted
I already installed appwrite via 'pip install appwrite' . Tried to follow the tutorial on pypi (Link - https://pypi.org/project/appwrite/) but it dosent work. I already selected the right env and atuff like that.
And when I do pip freeze it indicates me that appwrite is installed.
appwrite==2.0.0
The Python Version I use is : 3.10.11
Are you using Appwrite Cloud, or a self-hosted instance of appwrite?
If self hosted, what version are you on?
Appwrite Cloud, the version on the Web
the sdk you're using seems to be the wrong version.
sdk v2.0.0 is for appwrite 1.3.x You need to use an SDK that's compatible with Appwrite v1.1.2
You need to use an SDK that's compatible with Appwrite v1.1.2 Where can I download them? (preferable via pip)
my method is to go through the appwrite sdk releases, and see which one provides support for your version of appwrite
you can go on pypi and see which sdk release brought support for v1.1.2
[solved] Python - Import "appwrite.client" could not be resolvedPylancereportMissingImports
Thx, it worked for me with 'pip install appwrite==1.2.0'
Recommended threads
- Session Token not saving
On several devices, the session token is not saved as a cookie during creation. This results in a 401 error when checking out the account. The Appwrite instance...
- Memory error during migration
Appwrite migration crashes with the following message: Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 33554440 bytes) in /usr/...
- type generation on same columns in table
is there way to prevent this ? or only need to update column name like table prefix?