Reputation: 83
I downloaded anaconda which has a python 3.8 version. and i installed tensorflow with pip install tensorflow
.
from tensorflow.contrib import learn
in my code did not work as tensorflow 1.x doesnt work in python 3.8.
I downgraded to python 3.7 by conda install python==3.7
. and then pip install tensorflow==1.15
. But it still did not work and errors came up -- regarding python version still being 3.8 inside python.exe.
How can I go about it? Is there an alternate way to install? Please help. Thank you
Upvotes: 4
Views: 3271
Reputation:
You can download tensorflow1.X from https://pypi.org/
For example tensorflow1.15.0. Select the whl file corresponding to your system.
Then use pip install path/tensorflow-1.15.0-XXXX.whl
or
conda install path/tensorflow-1.15.0-XXXX.whl
to install.
Upvotes: 2