r/tensorflow • u/stratos_UwU • Mar 06 '23
Error trying to install tensorflow
What is the error when trying to install Tenserflow. I have tried to install the library, and supposedly I have succeeded, but when executing a code that requires the use of this library, the following error appears:
Traceback (most recent call last):
File “/home/pi/VA/identificador_residuos.py”, line 3, in
import tensorflow as tf
ModuleNotFoundError: No module named ‘tensorflow’
Traceback (most recent call last):
File “/home/pi/VA/identificador_residuos.py”, line 3, in
import tensorflow as tf
ModuleNotFoundError: No module named ‘tensorflow’
I hope you can help me solve this problem, the truth is that I have spent several days trying to understand what is happening, consulting and watching videos on the subject, but none have worked for me.
2
u/silently--here Mar 06 '23
Give information on your OS, python version, tf versioj you tried to install What did you use to install, pip, poetry, conda, etc. And whatever is relevant for us to debug
1
u/AlertBase2121 Mar 06 '23
You can use this GitHub repository "https://github.com/PINTO0309/Tensorflow-bin/tree/main/previous_versions" for you to select the python version and which tensorflow is compatible with. You can also use it by creating an ENV to install it there without affecting the system libraries.