conda安装tensorflow

2020-06-10  本文已影响0人  无解后仰跳投

若无法安装出现http erro,则需要安装openssl. 命令如下 sudo apt-get install libssl-dev

Step 1.Creating a New Conda Environment

conda create --name tensorflow2python=3.7 anaconda

conda activate tensorflow2

Step 2: Installing the TensorFlow Conda Package

conda install tensorflow or conda install tensorflow-gpu

安装tensorflow-probability

conda install tensorflow-probability==0.8

使用tensorflow时候先

conda activate tensorflow2

上一篇 下一篇

猜你喜欢

热点阅读