Back

Python libraries not supported

  • 0
  • Functions
mitsy0_0
26 May, 2023, 19:37

This is my requirements.txt

TypeScript
nltk==3.8.1
re==2.2.1
pandas==1.5.2```

And my Function has failed to deploy

This is the error

```Docker Error: ERROR: Could not find a version that satisfies the requirement re==2.2.1 (from versions: none)
ERROR: No matching distribution found for re==2.2.1
WARNING: You are using pip version 22.0.4; however, version 23.1.2 is available.
You should consider upgrading via the '/usr/builds/runtime-env/bin/python3 -m pip install --upgrade pip' command.
Collecting appwrite==2.0.0
  Downloading appwrite-2.0.0.tar.gz (15 kB)
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting nltk==3.8.1
  Downloading nltk-3.8.1-py3-none-any.whl (1.5 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.5/1.5 MB 1.1 MB/s eta 0:00:00```
TL;DR
User is asking if there is a list of Python libraries supported/not supported by appwrite. They mention that pandas is not supported and ask about the 're' package. They provide their requirements.txt file which includes 're==2.2.1' and 'pandas==1.5.2'. They also mention that their function failed to deploy, showing an error related to the 're' package. Solution: The 're' package is a built-in package in Python and does not need to be installed separately. The error message suggests that the specified version of 're' (2.2.1) is not available
Drake
26 May, 2023, 19:39

🧐 what the heck is the re package?

Drake
26 May, 2023, 19:40

Also pandas is not supported. Why do you need it?

mitsy0_0
26 May, 2023, 20:08

Is there a way I can see list of python libraries supported/ not supported by appwrite?

Drake
26 May, 2023, 20:11

We don't have an exhaustive list

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