我正在尝试使用pip install --no-cache-dir tensorflow命令安装 tensorflow 。安装卡在 100%。下载https://files.pythonhosted.org/packages/43/27/a6e7dcb8ae20a4dbf3725321058923fec262b6f7835179d78ccc8d98deec/h5py-2.9.0.tar.gz (287kB)100% |████████████████████████████████| 296KB 4.4MB/秒下载卡在上面一行
1 回答
GCT1015
TA贡献1827条经验 获得超4个赞
在安装 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
添加回答
举报
0/150
提交
取消