要在pycharm下使用tensorflow,要设置好pycharm下解释器interpreter的路径,这里也就是tensorflow的路径。 如果是虚拟的env,或anaconda的env,那就在interpreter路径里添加对应Python bin。 如果当前路径里没有解释器没有这个