Reputation: 1591
Although tensorflow is installed, Pycharm does not realize that the module tf.keras exists. Hovering over the keras results in the following text showing up: "Cannot find reference "keras" in '__init__.py'"
Why?
Upvotes: 1
Views: 332
Reputation: 15023
You are using PyCharm version lower than 3.0.
TensorFlow 2.0 is not running on PyCharm versions older than 2019.3 version.
You can find the answer to your question here: Unable to import Keras(from TensorFlow 2.0) in PyCharm
Upvotes: 2