Posts

Post not yet marked as solved
6 Replies
3.2k Views
Hello here. I try to install Tensorflow on my M1 Mac. Here is how I install : chmod +x ~/Downloads/Miniforge3-MacOSX-arm64.sh sh ~/Downloads/Miniforge3-MacOSX-arm64.sh source ~/miniforge3/bin/activate conda install -c apple tensorflow-deps python -m pip install tensorflow-macos python -m pip install tensorflow-metal When I run : python import tensorflow as tf I got this error : Traceback (most recent call last):   File "<stdin>", line 1, in <module>   File "/Users/floriane/miniforge3/lib/python3.9/site-packages/tensorflow/__init__.py", line 449, in <module>     _ll.load_library(_plugin_dir)   File "/Users/floriane/miniforge3/lib/python3.9/site-packages/tensorflow/python/framework/load_library.py", line 155, in load_library     py_tf.TF_LoadLibrary(lib) tensorflow.python.framework.errors_impl.NotFoundError: dlopen(/Users/floriane/miniforge3/lib/python3.9/site-packages/tensorflow-plugins/libmetal_plugin.dylib, 6): Symbol not found: _OBJC_CLASS_$_MPSGraphCompilationDescriptor   Referenced from: /Users/floriane/miniforge3/lib/python3.9/site-packages/tensorflow-plugins/libmetal_plugin.dylib (which was built for Mac OS X 12.0)   Expected in: /System/Library/Frameworks/MetalPerformanceShadersGraph.framework/Versions/A/MetalPerformanceShadersGraph I try to find some issues on forum but I didn't find. Somebody can help me ? Thank you
Posted
by FloEss.
Last updated
.