Tensorflow安装在100%时卡住

2024-09-30 14:22:18 发布

您现在位置:Python中文网/ 问答频道 /正文

我试图使用pip install --no-cache-dir tensorflow命令安装tensorflow。安装率达100%。在

Downloading https://files.pythonhosted.org/packages/43/27/a6e7dcb8ae20a4dbf3725321058923fec262b6f7835179d78ccc8d98deec/h5py-2.9.0.tar.gz (287kB)

100% |████████████████████████████████| 296kB 4.4MB/s

下载卡在上线


Tags: installpipnohttpsorg命令cachepackages
1条回答
网友
1楼 · 发布于 2024-09-30 14:22:18

在安装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

然后,运行:

^{pr2}$

相关问题 更多 >