Open fayyazul-centaurlabs opened 2 years ago
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 imageio-binaries
need to be equipped with the binaries for this platform.
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 xattr -c ffmpeg
to bless it. Perhaps this binary could be included in the osx arm wheel so that it would work for users who need an easy way to get ffmpeg installed without using brew?
Thank you very much for this project. Could you add binary wheels for macOS on m1? (Github already supports native macOS runners)
I don't have a lot of free cycles, so if anyone is up for fixing this, this'd be the steps:
get_platform()
.FNAME_PER_PLATFORM
.WHEEL_BUILDS
.The readme on the main page states that ffmpeg is included with the install from pypi. However after installation I get the error:
RuntimeError: No ffmpeg exe could be found. Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.
Not sure if it may be affecting it, but I am installing the package to a virtual environment.
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.