Cannot open tenserflow

Asked 2 years ago, Updated 2 years ago, 99 views

import tensorflow as tf

and hit the Pyhon console in Anaconda

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'tensorflow'

said he.What should I do?

tensorflow

2022-09-30 21:24

1 Answers

It seems to have been resolved, so I will write it down from the comments.

The question error simply occurs when tensorflow is not installed or cannot be read in a virtual environment.
Running pipe install tensorflow on a regular console instead of the python console may work correctly.


2022-09-30 21:24

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.