您的位置:首页 > 其它

安装tensorflow遇到的问题

2016-06-27 20:49 274 查看
参照https://www.tensorflow.org/versions/r0.9/get_started/os_setup.html#pip-installation

通过pip安装

后import tensorflow报错:module compiled against API version 0xa but this version of numpy is 0x9

原因:numpy版本和位置问题

解决办法:之前通过pip安装的numpy, 卸载numpy, 通过easy_install安装

即run 
sudo
easy_install numpy
 to update to the correct numpy
location.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: