Categories
Misc

How to properky install tensorflow and keras?

So im trying to use tnesorflow.keras, but im getting this error:

Import "tensorflow.keras" could not be resolvedPylance 

Im new to coding and have very little experience so im not sure if im supposed to do anything besides writing “pip install tensorflow” in the terminal. I’ve also typed “pip install keras” but it was already installed.

When i typed pip install tensorflow in the terminal i did get som yellow text saying that the directory is not in PATH, or something like that. Then i tried adding what i think was the directory to path in environment variables, but that didn’t help either.

submitted by /u/WannaKnow231
[visit reddit] [comments]

Leave a Reply

Your email address will not be published.