Skip to content Skip to sidebar Skip to footer

Installing Tensorflow On Anaconda

I have a linux machine to which i installed Anaconda. I am following: https://www.tensorflow.org/versions/r0.10/get_started/os_setup.html pip instaltion part. To be more specifi

Solution 1:

The 'sudo' makes pip install tensorflow outside the env. Try:

pip install --upgrade $TF_BINARY_URL

Just tested this on Ubuntu 14.04 w/ conda env, was able to reproduce (with sudo) and resolve issue (without sudo).

You can also check the "Using Conda" section of tensorflow.org. They list the below:

# Python 2
(tensorflow)$ pip install --ignore-installed --upgrade $TF_BINARY_URL

# Python 3
(tensorflow)$ pip3 install --ignore-installed --upgrade $TF_BINARY_URL

Solution 2:

In anaconda, simply do:

for installation

conda install -c conda-forge tensorflow

for update/upgrade

# -f will force the current installation to upgrade
conda update -f -c conda-forge tensorflow

Post a Comment for "Installing Tensorflow On Anaconda"