-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
ffmpeg not included in wheel for MacOS M1 #71
ffmpeg not included in wheel for MacOS M1 #71
Comments
What OS are you on? It could be that we don't have wheels for yours, which causes pip to install the source version without ffmpeg included. |
I'm using an m1 mac so that's probably it. I saw that osx 10.9+ was supported but forgot to account for the m1 processor. I can download ffmpeg individually and the package works fine however. |
I updated the title to reflect the issue. |
For what its worth, I think that imageio is quite flexible in how you can install ffmpeg. You can choose to install it from homebrew or conda (conda-forge) and imageio will attempt to find it. If it can't find, and you are sure that you installed it correctly, there is also an environment variable that you can set to help imageio find the executable. |
The package works when I install ffmpeg through brew, but it would be great to have a wheel for Apple Silicon that includes the executable by default |
A key question on this one would be how to find M1 runners that would allow the wheels for macOS+arm to be created before deployment. Of course, the repository Any ideas? |
@almarklein #83 does not solve the problem for this ticket. #83 only applies for Linux systems running on ARM (which is the Linux Docker container in that case). This ticket is about getting a native macOS ARM wheel |
@rbebb you're right, re-opened! |
@almarklein Thank you! |
I did find static Apple Silicon FFMPEG binaries available here http://www.osxexperts.net I was able to successfully download and test the static binary and it does work. Although it is not notarized, so I had to run |
Thank you very much for this project. |
I don't have a lot of free cycles, so if anyone is up for fixing this, this'd be the steps:
|
Temporary fix for issue imageio/imageio-ffmpeg#71
In this PR: 1. `brew install ffmpeg` for Apple Silicon Mac arm64 runners on github actions, since imageio-ffmpeg does not provide ffmpeg binaries for Apple Silicon imageio/imageio-ffmpeg#71 2. Restrict PySide tests to Mac Intel (not Apple Silicon), and for all operating systems python>=3.10. PySide is not available for these configurations. 3. Drop python 3.8, and add python 3.12 to the CI test matrix
exe is for windows. you're on a mac. |
The readme on the main page states that ffmpeg is included with the install from pypi. However after installation I get the error:
Not sure if it may be affecting it, but I am installing the package to a virtual environment.
The text was updated successfully, but these errors were encountered: