Back

Errors from inside the python appwrite sdk (5.0.0)

  • 0
  • Self Hosted
KillerKimme
9 Mar, 2024, 13:50

Hi, i ran 4.1 without any issues but im in the process to migrating to selfhosted 1.5 and thus i needed to upgrade the python sdk. I get errors from inside the pip package.

Currently using python 3.1 and, as mentioned, the appwrite 5.0.0 running in this docker image: runpod/pytorch:2.1.0-py3.10-cuda11.8.0-devel-ubuntu22.04

The image and environment is exactly the same as with 4.1. I dont think my appwrite server version matters, as it doesnt even reach the point.

My test script just contains:

`from appwrite.client import Client'

which results in this error message:

(EDIT: I pasted the wrong error message, sorry)

Traceback (most recent call last): File "/workspace/test.py", line 1, in <module> from appwrite.client import Client File "/usr/local/lib/python3.10/dist-packages/appwrite/client.py", line 7, in <module> from .encoders.value_class_encoder import ValueClassEncoder ModuleNotFoundError: No module named 'appwrite.encoders'

TL;DR
Developers are facing errors in the Python Appwrite SDK 5.0.0 while trying to upgrade and migrate to a self-hosted version. The issue appears to be with a missing module 'appwrite.encoders' in the SDK. A potential solution could be to check the installation process or dependencies for the SDK to ensure it is properly set up.
KillerKimme
9 Mar, 2024, 13:51

@D5

KillerKimme
9 Mar, 2024, 13:57

@D5 sorry, pasted the wrong error message, corrected it

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more