在terminal中可以import tensorflow,但是在pycharm中却不能import tensorflow

1. 检查python版本

2. 如果python是2.7,请使用pip install tensorflow进行安装

  如果python是3.5,请使用pip3 install tensorflow进行安装

猜你喜欢

转载自blog.csdn.net/xxy0118/article/details/80785264
今日推荐