Back

1.4.3 requirements.txt does not work as intended in python

  • 0
  • Functions
ireneus
4 Oct, 2023, 10:09

i have left the requirements.txt with one line "appwrite" but im getting the same error see the images during deployment and execution

TL;DR
User is experiencing an issue with the requirements.txt file not working as intended in Python 1.4.3. They are asking for help and stating that they have tried various solutions without success. Another user suggests checking the logs using the command "docker compose logs openruntimes-executor". Someone suggests that the issue may be related to updating Flask. The user confirms that they have not made any updates to Flask. Another user named Steven asks for clarification on the issue. The user explains that they have only included the "appwrite" module in the requirements.txt file but are still encountering the same error during deployment and execution. Solution
ireneus
4 Oct, 2023, 10:10

was it supposed to show me module during deployment?

Drake
5 Oct, 2023, 03:39

What's your build command set to for your function?

ireneus
5 Oct, 2023, 08:40

hi Steven, where can i find that? if you mean my entrypoint its main.py

ireneus
5 Oct, 2023, 09:19

nvm i have none

rafagazani
5 Oct, 2023, 11:42

It may be related to the update flask

Drake
5 Oct, 2023, 12:07

You'll need to add pip install -r requirements.txt

ireneus
5 Oct, 2023, 13:28

where would i do that? @Steven

ireneus
5 Oct, 2023, 13:28

as a build command?

ireneus
5 Oct, 2023, 13:29

brb

ireneus
5 Oct, 2023, 13:34

aw man im now getting this again

Drake
5 Oct, 2023, 16:22

what's docker compose logs openruntimes-executor show?

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