beeware / Python-Apple-support

A meta-package for building a version of Python that can be embedded into a macOS, iOS, tvOS or watchOS project.
MIT License
1.12k stars 161 forks source link

How to make pip install opencv-python or whatever? #174

Closed IhorKram closed 1 year ago

IhorKram commented 1 year ago

What is the problem or limitation you are having?

How to install external python packages?

Describe the solution you'd like

It would be cool if you provide some step-by-step instructions on how to install external python packages. For example, on regular python projects, I type pip install opencv-python - and opencv library automatically installed inside my project. How to do the same (install external packages) but for Python which is embedded inside iOS application?

Describe alternatives you've considered

some pip install process...

Additional context

No response

mhsmith commented 1 year ago

This is already covered in the tutorial and the configuration reference.

Unfortunately, opencv-python isn't yet available for iOS, though we do support it on all the other platforms including Android.