[CLOSED] ModuleNotFoundError: No module named 'appwrite' problem
- 0
- Resolved
- Self Hosted
- Functions
- Tools
Hi, I reinstall my server, then I recreate project. Updated my functions codes ' keys. I can run my functions on my computer with visual studio code. I can connect server.
But, When I upload my code, some function on panel. When ı execute, ı have this problem Traceback (most recent call last): File "/usr/local/server/src/server.py", line 165, in handler output = await asyncio.wait_for(execute(context), timeout=safeTimeout) File "/usr/local/lib/python3.9/asyncio/tasks.py", line 479, in wait_for return fut.result() File "/usr/local/server/src/server.py", line 150, in execute userModule = importlib.import_module("function." + userPath) File "/usr/local/lib/python3.9/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1030, in _gcd_import File "<frozen importlib._bootstrap>", line 1007, in _find_and_load File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 680, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 850, in exec_module File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed File "/usr/local/server/src/function/src/index.py", line 2, in <module> from appwrite.client import Client ModuleNotFoundError: No module named 'appwrite'
I try other my function ModuleNotFoundError: No module named 'jwt'
I think I have to install modules, but how ?
I use pip install jwt, it completed but error agian
up
@muratdoglu What's your function code?
I changed metod. I will open new question
[CLOSED] ModuleNotFoundError: No module named 'appwrite' problem
How have you fixed, I am getting that error even uploading the requirements.txt file
Recommended threads
- How to disable appwrite/embedding from s...
Hi everyone! I'm currently running a self-hosted instance of Appwrite. For my current use case, I don't need the AI/embedding features, and I noticed the `app...
- Invalid type for attribute 'email': emai...
I'm using the node-appwrite SDK to create a table, the column payload looks like this: ```json [{"key":"email","type":"email","required":true, "size": 512}] ``...
- Git connection is not working anymore on...
Hello all, I updated from 1.8.1 to 1.9.0 then 1.9.5. All seems to work even the Github connection. In Git configuration I see my Github user but when trying to...