pycharm里运行代码,出现错误:
RuntimeError: module compiled against API version 0x10 but this version of numpy is 0xf
试了升级numpy,但是我的numpy已经是最新版本,还是报错。
解决方法:使用pip uninstall numpy命令将numpy卸载,然后使用pip install numpy重装numpy,再次运行,没有报错了。
pycharm里运行代码,出现错误:
RuntimeError: module compiled against API version 0x10 but this version of numpy is 0xf
试了升级numpy,但是我的numpy已经是最新版本,还是报错。
解决方法:使用pip uninstall numpy命令将numpy卸载,然后使用pip install numpy重装numpy,再次运行,没有报错了。