Stepan Asked:2022-08-16 03:15:11 +0800 CST2022-08-16 03:15:11 +0800 CST 2022-08-16 03:15:11 +0800 CST 我如何通过 pip 安装 tensorflow 772 如何通过 pip 安装 tensorflow? python 1 个回答 Voted Best Answer Fedor March 2022-08-16T03:23:55+08:002022-08-16T03:23:55+08:00 来自tensorflow.org 的信息: conda install -c conda-forge cudatoolkit=11.2 cudnn=8.1.0 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$CONDA_PREFIX/lib/ python3 -m pip install tensorflow # Verify install: python3 -c "import tensorflow as tf; print(tf.config.list_physical_devices('GPU'))"
来自tensorflow.org 的信息: