我正在尝试使用pip install --no-cache-dir tensorflow
命令安装tensorflow。安装卡住了100%。
100%|█████████████████████████████████| 296kB 4.4MB / s
下载停留在上面的行
答案 0 :(得分:0)
在安装Tensorflow之前,您可能需要这些依赖项:
sudo apt-get install python3-numpy
sudo apt-get install libblas-dev
sudo apt-get install liblapack-dev
sudo apt-get install python3-dev
sudo apt-get install libatlas-base-dev
sudo apt-get install gfortran
sudo apt-get install python3-setuptools
sudo apt-get install python3-scipy
sudo apt-get update
sudo apt-get install python3-h5py
然后运行:
wget https://github.com/lhelontra/tensorflow-on-arm/releases/download/v1.8.0/tensorflow-1.8.0-cp35-none-linux_armv7l.whl
cp /home/USER/tensorflow-1.8.0-cp35-none-linux_armv7l.whl tensorflow-1.8.0-cp35-none-linux_armv7l.whl
sudo pip3 install tensorflow-1.8.0-cp35-none-linux_armv7l.whl