![]() There are quite a few things to do in order to install TensorFlow on the Macbook M1 chip:įirst, install Python 3.8.9 (I have tried on this version, not sure about any other versions) ![]() Include the entire stack traceĪbove this error message when asking for help. ![]() Packages/tensorflow/python/_pywrap_tensorflow_internal.so: mach-o, but wrongįailed to load the native TensorFlow runtime.įor some common reasons and solutions. Users/imantha/Software/anaconda3/envs/mlEnv/lib/python3.8/site. ![]() Packages/tensorflow/python/_pywrap_tensorflow_internal.so, 6): no suitable image Packages/tensorflow/python/pywrap_tensorflow.py", line 64, in ĭlopen(/Users/imantha/Software/anaconda3/envs/mlEnv/lib/python3.8/site. 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).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |