Reputation: 4607
I have no idea, why my python is acting so weirdly. I had tensorflow-2.3, as that doesn't go with cuda-10.1, so I had to go back to tensorflow-2.1. So my commands were :
pip uninstall tensorflow tensorflow-gpu
pip install tensorflow==2.1.0 tensorflow-gpu==2.1.0
But when I try to use tensorflow in python, it says it's version 2.3.
When I tried to uninstall the second time, it says I have 2.1.0.
Then why python is showing version 2.3 instead of 2.1?
Here is a snap :
Upvotes: 2
Views: 54
Reputation: 91
You are installing to python3.6. But your “python” command is executing python3.7 Try typing python3.6
PS: Use conda for python environment management.
Upvotes: 1