RuntimeError: module compiled against API version 0xa but this version of numpy is 0x9
程序员文章站
2022-04-01 10:24:52
...
sudo easy_install -U numpy
或
sudo -H pip install -U numpy
这种可能会报错:
Cannot uninstall 'numpy'. It is a distutils installed project
and thus we cannot accurately determine which files belong to it
which would lead to only a partial uninstall.