-
Notifications
You must be signed in to change notification settings - Fork 7.1k
MacOS 11_0 ARM wheel is missing image.so
#5137
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
Comments
Seems that there is no torchvision 0.11.1 wheel released on macOS M1. |
Anyone know a workaround for this? I tried downgrading versions and didn't have any luck |
Should be solved by 0.11.3 release, see https://pypi.org/project/torchvision/ |
The warning seems to be still there. When I use pip to install torch=1.10.2, torchvision=0.11.3, the import statement import torchvision throws out the similar warning:
I use MacBook Pro with M1 Max and there is not a image.so in torchvision directory.🤔 |
@alanyoungCN thank you for reporting, but as you can see from the signature, issue is a bit different: image.so is present, but missing one of the dependent libraries. |
@malfet Sorry for the title, I mention it in #5413 (comment). But I use pip to install torch and torchvision, I can't install libpng by pip. Besides, when I install libpng in conda base env, the warning becomes cc plz🙏 |
@alanyoungCN you can |
@malfet For now, the solution is installing the missing dylib by But there is a little remaining question, how to install them in a pip-only environment? |
@alanyoungCN It depends on the environment/operating system etc. You can install the libraries separately (for example using |
@dimart I wonder if you can bundle them all in .whl file, it may work. |
🐛 Describe the bug
The MacOS 11_0 ARM wheel for release
0.11.2
does not provide theimage.so
shared library (this applies to both Python 3.8 and Python 3.9).Thus, when importing
torchvision
on an Apple Silicon Mac running macOS Monterey, the following warning is raised:Versions
The text was updated successfully, but these errors were encountered: