Ricardo Rocha
Ricardo Rocha

Reputation: 16206

Problems (cannot) installing/uninstalling Tensorflow

I'm trying to update a new version of the TensorFlow but first I want to remove the oldest version by doing the following command:

 pip uninstall tensorflow

But I receive the following message:

Skipping tensorflow as it is not installed.

But When I run the following command to check if there is any version install:

> py -c 'import tensorflow as tf; print(tf.__version__)'

I receive the following message:

1.13.1

The message is wrong or the tensorflow was not successfully installed? How can I upgrade my tensorflow version?

Note: My python version is 3.7.3

Thank you!

Upvotes: 0

Views: 4284

Answers (1)

mujjiga
mujjiga

Reputation: 16856

One possible situation where it can happen is when pip is from one installation of python and your py is pointing to different installation of python.

Check if you have multiple python installations ?

which pip
which py

Make sure both are pointing to same installation

Upvotes: 1

Related Questions