zwithouta
zwithouta

Reputation: 1591

Why does PyCharm not realize that tf.keras is installed?

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?

enter image description here

Upvotes: 1

Views: 332

Answers (1)

Timbus Calin
Timbus Calin

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

Related Questions