MacOS 11_0 ARM wheel is missing `image.so`
See original GitHub issue🐛 Describe the bug
The MacOS 11_0 ARM wheel for release 0.11.2
does not provide the image.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:
UserWarning: Failed to load image Python extension:
Versions
PyTorch version: 1.10.1
Is debug build: False
CUDA used to build PyTorch: None
ROCM used to build PyTorch: N/A
OS: macOS 12.1 (arm64)
GCC version: Could not collect
Clang version: 13.0.0 (clang-1300.0.29.30)
CMake version: Could not collect
Libc version: N/A
Python version: 3.9.9 (main, Dec 29 2021, 16:03:39) [Clang 13.0.0 (clang-1300.0.29.30)] (64-bit runtime)
Python platform: macOS-12.1-arm64-arm-64bit
Is CUDA available: False
CUDA runtime version: No CUDA
GPU models and configuration: No CUDA
Nvidia driver version: No CUDA
cuDNN version: No CUDA
HIP runtime version: N/A
MIOpen runtime version: N/A
Versions of relevant libraries:
[pip3] mypy-extensions==0.4.3
[pip3] numpy==1.21.5
[pip3] pytorch-lightning==1.5.7
[pip3] torch==1.10.1
[pip3] torchmetrics==0.6.2
[pip3] torchvision==0.11.2
[conda] Could not collect
Issue Analytics
- State:
- Created 2 years ago
- Reactions:5
- Comments:11 (6 by maintainers)
Top Results From Across the Web
Rotate the image on your Mac display - Apple Support
Click the pop-up menu next to Rotation on the right and choose how many degrees to rotate the image on your display. In...
Read more >Why new Macs break your Docker build, and how to fix it
Importantly, macos arm64 wheels are not sufficient; since we're running inside Docker, we need Linux wheels. Solution #1: Get the code to ...
Read more >Android Studio/Emulator on macOS with ARM CPU M1
Use an arm64-v8a image ! Tools -> SDK Manager; Install Android 11 (R) or 12.0 (S) and click Apply; Tools -> AVD Manager...
Read more >Canon Support for PIXMA iP110 | Canon U.S.A., Inc.
Find support for your Canon PIXMA iP110. Browse the recommended drivers, downloads, and manuals to make sure your product contains the most up-to-date ......
Read more >Osx_image xcode12.2 does not come with macos 11 SDK (no ...
ls -al /Library/Developer/CommandLineTools/SDKs drwxr-xr-x 5 root wheel 160 May 5 2020 ... of “Command Line Tools for Xcode 12.2” is missing in this...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@dimart I do have installed it by
brew install libpng
, but it locates in/opt/homebrew/Cellar/libpng/
which is not in the@rpath
lists(please see the full warning in https://github.com/pytorch/vision/issues/5413#issuecomment-1039234856), therefore leading theLibrary not loaded: @rpath/libpng16.16.dylib
warning.I wonder if you can bundle them all in .whl file, it may work.
@alanyoungCN you can
conda install jpeg
to probably solve this problem, but I agree, that those dependencies should be bundled into .whl file