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).