Please help me with this error
I have installed the tensorflow module on my server and below is it\'s information
15IT60R19@cpusrv-gpu-109:~$ pip sho
Activate the virtualenv environment by issuing one of the following commands:
$ source ~/tensorflow/bin/activate # bash, sh, ksh, or zsh
$ source ~/tensorflow/bin/activate.csh # csh or tcsh
Hope this help
Try installing tensorflow again with the whatever version you want and with option --ignore-installed like:
pip install tensorflow==1.2.0 --ignore-installed
I solved same issue using this command.
I had exactly the same problem. It's because default python is in version 2 You need to link to the version 3.
>sudo rm -rf /usr/bin/python
>sudo ln -s /usr/bin/python3.5 /usr/bin/python
This Worked for me:
$ sudo easy_install pip
$ sudo easy_install --upgrade six
$ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/mac/tensorflow-0.9.0-py2-none-any.whl
$ sudo pip install --upgrade $TF_BINARY_URL
Instead of using the doc's command (conda create -n tensorflow pip python=2.7 # or python=3.3, etc.
) which wanted to install python2.7 in the conda environment, and kept erroring out saying the module can't be found when following the installation validation steps, I used conda create -n tensorflow pip python=3
to make sure python3 was installed in the environment.
Doing this, I only had to type python
instead of python3
when validating the installation and the error went away.
I ran into the same issue. I simply updated my command to begin with python3
instead of python
and it worked perfectly.