请问,如何在虚拟环境中安装Tensorflow?我用过这些命令,但不起作用。。在sudo -H pip3 install tensorflow --proxy https://XXX.XX.XX.X:3128sudo -E pip3 install tensorflow --proxy https://XXX.XX.XX.X:3128sudo -E pip install tensorflow --proxy https://XXX.XX.XX.X:3128sudo -H pip install tensorflow --proxy https://XXX.XX.XX.X:3128sudo pip install tensorflow --proxy https://XXX.XX.XX.X:3128结果是:
^{pr2}$
以下是我的python和pip版本:(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
在我尝试pip install -U tensorflow之后,我得到了以下结果:Cannot uninstall 'six'
然后我尝试了pip install -U tensorflow --ignore-installed six,通过tf版本检查,我得到了:(venv)root@graphene-62:~/tensorflow# python -c "import tensorflow as tf; print(tf.__version__)"
Illegal instruction (core dumped) (venv)root@graphene-62:~/tensorflow#
有没有其他方法可以下载和安装Tensorflow?在