profiler-ui icon indicating copy to clipboard operation
profiler-ui copied to clipboard

Check failed: PyBfloat16_Type.tp_base != nullptr

Open acarl005 opened this issue 6 years ago • 2 comments

After following the installation instructions, I get the following error when attempting to start up the UI:

python ui.py --profile_context_path=/opt/devel/src/autocoder/rad-autocoder/model_configurable/output/profile_100
ModuleNotFoundError: No module named 'numpy.core._multiarray_umath'
ImportError: numpy.core.multiarray failed to import

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "<frozen importlib._bootstrap>", line 968, in _find_and_load
SystemError: <class '_frozen_importlib._ModuleLockManager'> returned a result with an error set
ImportError: numpy.core._multiarray_umath failed to import
ImportError: numpy.core.umath failed to import
2019-03-12 12:50:48.229931: F tensorflow/python/lib/core/bfloat16.cc:675] Check failed: PyBfloat16_Type.tp_base != nullptr
Abort trap: 6

acarl005 avatar Mar 12 '19 16:03 acarl005

Fixed by installing numpy of a specific version numpy-1.16.2

acarl005 avatar Mar 12 '19 16:03 acarl005

Thanks for reporting this, Andy!

ChrisAntaki avatar Apr 14 '19 17:04 ChrisAntaki