You are viewing a plain text version of this content. The canonical link for it is here.
Posted to discuss-archive@mxnet.apache.org by Lews Therin511 via MXNet Forum <no...@mxnet.discoursemail.com> on 2022/04/05 07:07:20 UTC
[MXNet Forum] MxNet installation on M1 Mac with Miniconda - (not a mach-o file) Error
Hi' I've been tryig to install MxNet on a M1 Mac, and I'm using Miniconda, which supposedly supports arm-based packages installations.
I created the env by:
conda create --name mc_mxnet_py39 python=3.9
and installed mxnet by:
pip install --upgrade mxnet
I also tried specifying
CONDA_SUBDIR=osx-arm64 pip install --upgrade mxnet
But the result is always the same, when importing mxnet I get the error:
OSError: dlopen(/Users/cdemasi/miniconda3/envs/mc_mxnet_py39/lib/python3.9/site-packages/mxnet/libmxnet.so, 0x0006): tried: '/Users/cdemasi/miniconda3/envs/mc_mxnet_py39/lib/python3.9/site-packages/mxnet/libmxnet.so' (not a mach-o file)
During the installation, I see that it's doing:
Collecting mxnet
Using cached mxnet-1.6.0-py2.py3-none-any.whl (68.7 MB)
So, I assume there's an error in the mxnet-1.6.0-py2.py3-none-any.whl file, which is actually not a Mac-compatible version?
---
[Visit Topic](https://discuss.mxnet.apache.org/t/mxnet-installation-on-m1-mac-with-miniconda-not-a-mach-o-file-error/7164/1) or reply to this email to respond.
You are receiving this because you enabled mailing list mode.
To unsubscribe from these emails, [click here](https://discuss.mxnet.apache.org/email/unsubscribe/069666504e528a9237ab2d515bb61a5739b5b6a005d1240308fdeff340a996e6).