keras导入出错:runtimeError:module compiled against API version 0xc but this version of numpy is 0xb

keras导入出错:runtimeError:module compiled against API version 0xc but this version of numpy is 0xb_第1张图片

runtimeError:module compiled against API version 0xc but this version of numpy is 0xb

看图知道是numpy版本的问题,所以

pip install numpy==1.14.5 -i https://pypi.tuna.tsinghua.edu.cn/simple

成功。
主要是因为keras依赖的numpy包的问题

你可能感兴趣的:(numpy,深度学习,python,bug)