win10+cpu+tensorflow+pycharm

时间:2023-03-09 07:23:08
win10+cpu+tensorflow+pycharm

1、安装64位的python3.5

选择windowsx86-64 executable installer安装

2、安装tensorflow

cmd->进入到安装python的Scripts文件夹,里面有pip3.exe

pip3 install --upgrade https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-0.12.0rc0-cp35-cp35m-win_amd64.whl ,安装tensorflow

或者 pip3 install tensorflow 会安装最新版本的tensorflow

pip3 install matplotlib

pip3 install+库名即可

卸载:pip uninstall 模块名

3、安装pycharm

下载专业版,激活时选择License server 填入http://idea.imsxm.com 点击Active即可

project interpreter,选择装了tensorflow的python3.5的环境

安装一下Microsoft Visual C++ 2015 Redistributable Update 3 x64(网址:https://www.microsoft.com/en-us/download/confirmation.aspx?id=53587)即可

下载链接:https://download.microsoft.com/download/6/D/F/6DF3FF94-F7F9-4F0B-838C-A328D1A7D0EE/vc_redist.x64.exe