При попытке импорта tensorflow, вылазит следующая ошибка:
>>> import tensorflow
Traceback (most recent call last):
File "", line 1, in
File "/usr/lib/python3.6/site-packages/tensorflow/__init__.py", line 24, in
from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import
File "/usr/lib/python3.6/site-packages/tensorflow/python/__init__.py", line 63, in
from tensorflow.python.framework.framework_lib import * # pylint: disable=redefined-builtin
File "/usr/lib/python3.6/site-packages/tensorflow/python/framework/framework_lib.py", line 77, in
from tensorflow.python.framework.ops import Graph
File "/usr/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 55, in
from tensorflow.python.platform import app
File "/usr/lib/python3.6/site-packages/tensorflow/python/platform/app.py", line 24, in
from tensorflow.python.platform import flags
File "/usr/lib/python3.6/site-packages/tensorflow/python/platform/flags.py", line 33, in
disclaim_key_flags() # pylint: disable=undefined-variable
NameError: name 'disclaim_key_flags' is not defined
Дело происходит в Arch Linux, Tensorflow установлен из официального репозитория.
Как это исправить?