

ImportError: Traceback (most recent call last): Packages/tensorflow/python/pywrap_tensorflow.py", line 83, in Packages/tensorflow/python/_init_.py", line 39, in įrom tensorflow.python import pywrap_tensorflow as _pywrap_tensorflow Packages/tensorflow/_init_.py", line 41, in įrom import module_util as _module_util

Users/imantha/Software/anaconda3/envs/mlEnv/lib/python3.8/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so: mach-o, but wrong architectureĭuring handling of the above exception, another exception occurred:įile "/Users/imantha/Software/anaconda3/envs/mlEnv/lib/python3.8/site. ImportError: dlopen(/Users/imantha/Software/anaconda3/envs/mlEnv/lib/python3.8/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so, 6): no suitable image found. However when I start python session in the shell and type import tensorflow as tf, I get the following error Traceback (most recent call last):įile "/Users/imantha/Software/anaconda3/envs/mlEnv/lib/python3.8/site-packages/tensorflow/python/pywrap_tensorflow.py", line 64, in įrom tensorflow.python._pywrap_tensorflow_internal import * tensorflow was successfully installed and when typed conda list, the package is listed.When prompted to input the path : /Users/imantha/Software/anaconda3/envs/mlEnv/./Users/imantha/Software/tensorflow_macos/install_venv.sh -p.download tensorflow-macos from github page.installing brew (was alreadyy installed).However when I import tensrflow I get the following error.


I followed this tutorial, to install tensorflow in a mac (M1 processor).
