Post

Replies

Boosts

Views

Activity

Reply to Tensorflow on Apple M1 cannot import
I have the same issue with my newly setup M2 Macbook Pro. I clean the whole harddisk and reinstall the OS, follow step by step. Still have the same issue. Anyone can help? https://developer.apple.com/metal/tensorflow-plugin/ ImportError Traceback (most recent call last) Cell In [3], line 1 ----> 1 import tensorflow as tf File ~/code/tftest/env/lib/python3.10/site-packages/tensorflow/init.py:37 34 import sys as _sys 35 import typing as _typing ---> 37 from tensorflow.python.tools import module_util as _module_util 38 from tensorflow.python.util.lazy_loader import LazyLoader as _LazyLoader 40 # Make sure code inside the TensorFlow codebase can use tf2.enabled() at import.
Topic: App & System Services SubTopic: Core OS Tags:
Sep ’22