i can't import tensorflow in python
Question:
I have successfully installed TensorFlow using pip, but when attempting to import it, I encounter an error: 'ImportError: No module named '_pywrap_tensorflow_internal'
. The error message also states that the native TensorFlow runtime failed to load. What can I do to resolve this issue?
Answers:
Use python version Python 3.8.8 or above :
pip install --user virtualenv
Activate your virtual enviroment and type the command in your console
pip install tensorflow
pip3 install tensorflow
Tensorflow package is of something around 200mb or above so be patient and let it to be install
I have successfully installed TensorFlow using pip, but when attempting to import it, I encounter an error: 'ImportError: No module named '_pywrap_tensorflow_internal'
. The error message also states that the native TensorFlow runtime failed to load. What can I do to resolve this issue?
Use python version Python 3.8.8 or above :
pip install --user virtualenv
Activate your virtual enviroment and type the command in your console
pip install tensorflow
pip3 install tensorflow
Tensorflow package is of something around 200mb or above so be patient and let it to be install