tensorflowのサンプルを動かそうとしたときのエラー
1 2 3 4 5 6 7 | 4$ python fully_connected_feed.py RuntimeError: module compiled against API version 0xc but this version of numpy is 0xb ImportError: numpy.core.multiarray failed to import ImportError: numpy.core.umath failed to import ImportError: numpy.core.umath failed to import 2019-11-15 09:55:15.959592: F tensorflow/python/lib/core/bfloat16.cc:675] Check failed: PyBfloat16_Type.tp_base != nullptr 中止 (コアダンプ) |
どうやら、numpyが壊れているらしい?
1 | $ pip install -U numpy |
これで解決