在tensorflow下运行代码出错——API version 0xc but this version of numpy is 0xb

本人在运行代码时不知道为什么会出现这种错误
在tensorflow下运行代码出错——API version 0xc but this version of numpy is 0xb
一直在说“RuntimeError: module compiled against API version 0xc but this version of numpy is 0xb”
我一直找不到原因,百度一下之后,发现大多数给的方法都是更新numpy,但是不知道为什么对我的电脑没有作用,始终是这个错误,在pycharm中的setting中
在tensorflow下运行代码出错——API version 0xc but this version of numpy is 0xb
进行更新也没用
最后我就想既然说我的numpy有问题,那索性我就直接给他删了,我再重新安装一遍
没想到就成功了
在tensorflow下运行代码出错——API version 0xc but this version of numpy is 0xb
在tensorflow下运行代码出错——API version 0xc but this version of numpy is 0xb
在tensorflow下运行代码出错——API version 0xc but this version of numpy is 0xb
之后再重新安装即可
在tensorflow下运行代码出错——API version 0xc but this version of numpy is 0xb
成功!