有时候,我们的电脑上或许会同时安装多个python的环境,譬如,我的电脑上同时装了anaconda2和3. 在安装的时候,譬如,我想在python3中装tensorflow,则需要在 C:\ProgramData\Anaconda2\envs\Anaconda3\Scripts 3的这个路径下,打开cmd,执行:pip install tensorflow import tensorflow as tf a = tf.placeholder(tf.float32) b = tf.placehol…