Please, how can i install Tensorflow in a virtual environment? I have used these commands but it doesn't work..
sudo -H pip3 install tensorflow --proxy https://XXX.XX.XX.X:3128
sudo -E pip3 install tensorflow --proxy https://XXX.XX.XX.X:3128
sudo -E pip install tensorflow --proxy https://XXX.XX.XX.X:3128
sudo -H pip install tensorflow --proxy https://XXX.XX.XX.X:3128
sudo pip install tensorflow --proxy https://XXX.XX.XX.X:3128
It resulted in:
Downloading/unpacking tensorflow
Cannot fetch index base URL https://pypi.python.org/simple/
These are my python and pip versions:
(venv)root@graphene-62:~/tensorflow# pip -V
pip 8.1.2 from /usr/local/lib/python2.7/dist-packages/pip-8.1.2-py2.7.egg
(python 2.7)
(venv)root@graphene-62:~/tensorflow# python -V
Python 2.7.6
After I tried pip install -U tensorflow
, I got the following result:
Cannot uninstall 'six'
Then I tried pip install -U tensorflow --ignore-installed six
, and with the tf version check I got:
(venv)root@graphene-62:~/tensorflow# python -c "import tensorflow as tf; print(tf.__version__)"
Illegal instruction (core dumped) (venv)root@graphene-62:~/tensorflow#
Is there another way to download and install Tensorflow?