conda create -n tf2.0 python=3.6三、激活tf2.0虚拟环境
conda activate tf2.0四、安装tensorflow2.0.0
pip install tensorflow==2.0.0 -i https://pypi.tuna.tsinghua.edu.cn/simple五、测试一下
注意:“__version__”这里是两个下划线
python import tensorflow as tf print(tf.__version__)

conda create -n tf2.0 python=3.6三、激活tf2.0虚拟环境
conda activate tf2.0四、安装tensorflow2.0.0
pip install tensorflow==2.0.0 -i https://pypi.tuna.tsinghua.edu.cn/simple五、测试一下
注意:“__version__”这里是两个下划线
python import tensorflow as tf print(tf.__version__)