-
Notifications
You must be signed in to change notification settings - Fork 57
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
Add support for macOS ARM #127
Comments
Hi, the wheel for v6.0.1 contains the x86_64+arm64 dylib, see my comment here: #24 (comment) If you get https://files.pythonhosted.org/packages/a7/73/9f6602d6356bcf4c671f0d10999365cff6ebade197050f910d92f7501838/pymediainfo-6.0.1-py3-none-macosx_10_15_x86_64.whl, it should work. What version did your |
just yep. I know the wheel for v6.0.1 contains the x86_64+arm64 dylib, but pip for arm mac will not install it. |
OK, so the wheel is fine but it lacks a Line 29 in f97cd54
I'll have to check this, the issue is that I don't have a MacOS system other than the AppVeyor CI so it makes it difficult to debug this. |
https://github.com/Tohrusky/realcugan-ncnn-py/blob/main/setup.py And when python < 3.9, universal2 tag is not enabled, so add a extra pkg with arm64 tag is more easy |
Thanks, that's really helpful. In my case, I probably also need to force a platform name because I run code on a non-universal2 Python apparently. Do you know if pip will find the Also why do you disable this tag before Python 3.9? |
When python >= 3.9, arm x86 and arm can find it. I have tested it in github action in the repo
Python3.8 for arm seems not a official build.So the uni tag is enabled after 3.8 |
Hi, when launch my application with pymedia info I have this error: I have a problem with this library on my Mac arm m1/m2 mini. |
just copy a libmediainfo.dylib from here or the x86 mac pypi wheel to the package root directory. |
how I try this have this error I downloaded Sorry in both cases I think I'm doing something wrong, can you be more detailed? Thank you |
not use pip, just download it, rename it to zip, unzip and find the lib. to the package dir where you install it. https://stackoverflow.com/questions/31384639/what-is-pythons-site-packages-directory |
thank you, perfect now is all ok! |
thank you~ |
In Mac OS arm, use pip to install, the
libmediainfo.0.dylib
is not found like. So I copy the lib in pypi pkg for macos x64, it work.We found that in
https://mediaarea.net/en/MediaInfo/Download/Mac_OS
,libmediainfo.0.dylib
is a universal lib for mac, so just add a package named likepymediainfo-6.0.1-py3-none-macosx_10_15_universal2.whl
in PYPI, it can workThe text was updated successfully, but these errors were encountered: