[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
- ENV vars not updating
When i do `nano .env` it shows `_APP_DOMAIN_TARGET=` as set to my domain, but when i do `docker compose exec appwrite vars` it shows `_APP_DOMAIN_TARGET=` as ...
- Index with the requested key already exi...
I'm using appwrite cli to create DB and I'm getting index_already_exists Is there a way to undestand the index name and maybe to skip if it's already exits?
- Issue - Migration From Cloud > Self Host...
Hi team, I’m trying to migrate a few of my Appwrite projects from the cloud to a self-hosted instance. These projects are currently in “archive mode” due to th...
