简体   繁体   中英

Installed Version of Tensorflow different from what I see on Jupyter

I recently installed an upgraded version of TensorFlow through the terminal by executing the command: "pip install --upgrade tensorFlow --user".

However, I see in my terminal: "Requirement already satisfied: tensorflow in c:\users\appdata\local\programs\python\python38\lib\site-packages (2.9.1)" , but when I check the version of tensorflow in my Jupyter, I get that the tensorflow version 2.4.0.

Any suggestions on how to get the updated version of Tensorflow in Jupyter?

Edit: I also have Python 3.8.7

Jupyter Image

Terminal image

You might see the different versions in both interfaces because TensorFlow is getting installed at a different place.

If you want to install an upgraded TensorFlow version on your current working jupyter notebook, then:

  1. You may need to open the anaconda command prompt in the same environment where you are using jupyter notebook and install the tensorflow using same code and check the TensorFlow version.

OR

  1. You can also install it by running the same code in the same jupyter notebook cell.

!pip install --upgrade tensorFlow --user

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM