Back
How to enable Python Machine Learning Packages Installation in Self Hosting for function execution?
- 0
- Self Hosted
- Functions
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 inAre you on 1.4?
Yes
as part of the build commands you can install other things as needed.
What you trying to use and what error are you getting?
I am unable to install Pandas and Numpy
try updating your commands to:
TypeScript
apk add --no-cache g++ wget && pip install -r requirements.txt
Recommended threads
- Provider error when creating a function ...
- 1:1 relationship doesn’t sync after re-a...
Hi, I’m trying to use a two-way one-to-one relationship. It works fine when I create a record with the relationship set, and it also works when I unset it. But ...
- Upsert with setting permissions
Hi there, I am using self-hosted appwrite v1.7.4 and trying to use the bulk update stuff that was released with 1.7.x. Unfortunally I found that there is an ser...