最近在运行一个Python项目的时候,报错RuntimeError: module compiled against API version 0xf but this version of numpy is 0xd导致项目无法运行,查阅资料后发现是numpy这个包版本太低导致的,解决方法是升级numpy版本。方法贴在这里,供遇到同样问题的小伙伴参考。
解决方法$ pip install numpy --upgrade
参考资料1
参考资料2

最近在运行一个Python项目的时候,报错RuntimeError: module compiled against API version 0xf but this version of numpy is 0xd导致项目无法运行,查阅资料后发现是numpy这个包版本太低导致的,解决方法是升级numpy版本。方法贴在这里,供遇到同样问题的小伙伴参考。
解决方法$ pip install numpy --upgrade
参考资料1
参考资料2