pip install -i https://pypi.douban.com/simple --trusted-host pypi.douban.com scipy==1.4.0
检验tensorflow-gpu是否安装成功:
import tensorflow as tf tf.test.is_gpu_available()
换回默认源:
conda config --remove-key channels

pip install -i https://pypi.douban.com/simple --trusted-host pypi.douban.com scipy==1.4.0
检验tensorflow-gpu是否安装成功:
import tensorflow as tf tf.test.is_gpu_available()
换回默认源:
conda config --remove-key channels