I encountered an issue when importing tensorflow.
Specifically, when importing tensorflow, it throws:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/Users/***/miniconda/envs/ml310/lib/python3.10/site-packages/tensorflow/__init__.py", line 439, in <module>
_ll.load_library(_plugin_dir)
File "/Users/***/miniconda/envs/ml310/lib/python3.10/site-packages/tensorflow/python/framework/load_library.py", line 151, in load_library
py_tf.TF_LoadLibrary(lib)
tensorflow.python.framework.errors_impl.NotFoundError: dlopen(/Users/***/miniconda/envs/ml310/lib/python3.10/site-packages/tensorflow-plugins/libmetal_plugin.dylib, 0x0006): symbol not found in flat namespace '__ZN3tsl8internal10LogMessage16VmoduleActivatedEPKci
Downgrading tensorflow-metal to version 0.6.0 solved the problem temporarily.
Details about python and the OS:
OS version: 13.1
Python: 3.10 (distributed by conda-forge)
tensorflow-macos: version 2.10.0