Back

How to enable Python Machine Learning Packages Installation in Self Hosting for function execution?

  • 0
  • Self Hosted
  • Functions
Hassanmrwt
11 Oct, 2023, 05:10

I want to test Image Processing Libraries of Python but by default it is not supported. Is there any way to enable them.

TL;DR
The user is having trouble installing Pandas and Numpy for Python machine learning packages in a self-hosted environment. One suggestion given is to update the commands used for installation. It is recommended to add the following commands: ```shell apk add --no-cache g++ wget && pip install -r requirements.txt ``` The user is asked about the specific error they are encountering and what they are trying to use. They mention that they want to test image processing libraries in Python, but it is not supported by default. They ask if there is a way to enable these libraries. A solution to enable image processing libraries is not provided in
Drake
14 Oct, 2023, 16:24

Are you on 1.4?

Hassanmrwt
16 Oct, 2023, 09:15

Yes

Drake
16 Oct, 2023, 18:30

as part of the build commands you can install other things as needed.

What you trying to use and what error are you getting?

Hassanmrwt
16 Oct, 2023, 23:48

I am unable to install Pandas and Numpy

Drake
17 Oct, 2023, 00:32

try updating your commands to:

TypeScript
apk add --no-cache g++ wget && pip install -r requirements.txt
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