[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
- Error upgrading from 1.8.1 to 1.9.0
DO Self-hosted server failed to upgrade with this error "Error response from daemon: client version 1.52 is too new. Maximum supported API version is 1.42". U...
- MariaDB refuses to connect to appwrite
Earlier, I tried updating my Appwrite version from 18.1.x to the latest release because my Flutter package required it to function properly. I used the official...
- "Invalid console fingerprint" when unpau...
I've tried logging out and logging back in, still can't figure out why this is happening.