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 Avoid Double Requests in function...
I'm currently using Appwrite's `functions.createExecution` in my project. I want to avoid double requests when multiple actions (like searching or pagination) a...
- Send Email Verification With REST
I am using REST to create a user on the server side after receiving form data from the client. After the account is successfully created i wanted to send the v...
- Use different email hosts for different ...
Hello, I have 2 projects and i want to be able to set up email templates in the projects. Both projects will have different email host configurations. I see ...