Installing tensorflow on Pycharm (Mac)

前端 未结 5 755
攒了一身酷
攒了一身酷 2020-12-31 17:33

I was trying to use tensorflow in Pycharm IDE.

It seems that in Pycharm, it is one-click to install a package. It was very easy with bumpy. Now error occurs when I w

5条回答
  •  时光说笑
    2020-12-31 17:38

    To summarize (on Mac) :

    Step 1, get latest Python (2.7.11 today) on Pycharm: Pycharm, can not find Python version 2.7.11

    Step 2, follow "Pip Installation" of https://www.tensorflow.org/versions/r0.8/get_started/os_setup.html#download-and-setup

    Step 3, Pycharm-- preference -- project interpreter, install the latest versions of numpy, protobuf, six. Tensorflow import error on Pycharm (Mac) Note, maybe have to click the "specify version" when installing.

    Step 4, Pycharm-- preference -- project interpreter, install the latest version of tensorflow (v 0.8.0 today). Note, if not find v0.8.0, then maybe have to manually click "Manage Repositories" and then add the link of Step 2 (https://storage.googleapis.com/tensorflow/mac/tensorflow-0.8.0-py2-none-any.whl)

    These steps worked well on both Mac computers of mine. Thanks for all helps during the procedure from contributors.

提交回复
热议问题