Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Bug Report: Cannot install opencv library on python 3.9 runtime #7694

Closed
2 tasks done
Adityaupadhye opened this issue Feb 28, 2024 · 3 comments
Closed
2 tasks done
Assignees
Labels
enhancement New feature or request product / functions Fixes and upgrades for the Appwrite Functions.

Comments

@Adityaupadhye
Copy link

👟 Reproduction steps

  1. Create a starter project on appwrite functions
  2. Choose python as the runtime
  3. Add opencv-python in the requirements.txt

👍 Expected behavior

All libraries should be installed on the python runtime for appwrite funtions.
Python 3.9 is a bit unstable runtime version. Please switch to 3.10 or higher.

👎 Actual Behavior

image

the screenshot shows error when installing opencv

🎲 Appwrite version

Appwrite Cloud

💻 Operating system

Linux

🧱 Your Environment

Appwrite functions python 3.9 runtime

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

@Adityaupadhye Adityaupadhye added the bug Something isn't working label Feb 28, 2024
@eldadfux
Copy link
Member

eldadfux commented Mar 2, 2024

Hey, @Adityaupadhye thanks for raising this issue. For max performance, we use light alpine images for majority or our runtimes. While they are great for most use cases, the Python one is not well optimized for more advanced cases.

For this we plan to introduce an AI optimized runtime for Python in next releases. Later on, we also plan to research the possibility of adding GPU enhanced runtimes to Cloud.

@eldadfux eldadfux added the product / functions Fixes and upgrades for the Appwrite Functions. label Mar 2, 2024
@eldadfux eldadfux added feature and removed bug Something isn't working labels Mar 2, 2024
@stnguyen90 stnguyen90 added enhancement New feature or request and removed feature labels Mar 20, 2024
@mr-v-v-v
Copy link

mr-v-v-v commented Apr 6, 2024

I am tired to wait when you create normal python runtime! 3 years of waiting

@stnguyen90
Copy link
Contributor

Closing as you can now install opencv using the python-ml-3.11 runtime:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request product / functions Fixes and upgrades for the Appwrite Functions.
Projects
None yet
Development

No branches or pull requests

5 participants