ImportError: No module named tensorflow - Can't install Tensorflow

前端 未结 2 2070
迷失自我
迷失自我 2021-01-26 01:36

I am trying to install tensorflow on mac and it\'s giving me this error.

ImportError: No module named tensorflow

Here is what I have done in the terminal

2条回答
  •  南方客
    南方客 (楼主)
    2021-01-26 01:51

    I use Anaconda Navigator which includes Tensorflow. I use Spyder, it's a IDE of Anaconda Navigator similar to Matlab with variable explorer, very useful.

    You have to go to the page https://www.anaconda.com/download/#macos

    and download and install it. It's open source. Then open Spyder and call tensorflow lib. It's the easiest mode to run tensorflow and virtualenvs.

提交回复
热议问题