Traceback (most recent call last):


 "examples/sqla/app.py", line 266, in <module>

admin.add_sub_category(name="Links", parent_name="Other")
AttributeError: 'Admin' object has no attribute 'add_sub_category'

Traceback (most recent call last):


 "model_main.py", line 108, in <module>

tf.app.run()


 "/home/wei16/anaconda3/envs/tf2.2/lib/python3.6/site-packages/tensorflow/python/platform/app.py", line 40, in run

_run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef)


 "/home/wei16/anaconda3/envs/tf2.2/lib/python3.6/site-packages/absl/app.py", line 300, in run

_run_main(main, args)


 "/home/wei16/anaconda3/envs/tf2.2/lib/python3.6/site-packages/absl/app.py", line 251, in _run_main

sys.exit(main(argv))


 "model_main.py", line 62, in main

config = tf.estimator.RunConfig(model_dir=FLAGS.model_dir)


 "/home/wei16/anaconda3/envs/tf2.2/lib/python3.6/site-packages/tensorflow/python/util/lazy_loader.py", line 62, in __getattr__

module = self._load()


 "/home/wei16/anaconda3/envs/tf2.2/lib/python3.6/site-packages/tensorflow/python/util/lazy_loader.py", line 45, in _load

module = importlib.import_module(self.__name__)


 "/home/wei16/anaconda3/envs/tf2.2/lib/python3.6/importlib/__init__.py", line 126, in import_module

return _bootstrap._gcd_import(name[level:], package, level)


 "<frozen importlib._bootstrap>", line 994, in _gcd_import


 "<frozen importlib._bootstrap>", line 971, in _find_and_load


 "<frozen importlib._bootstrap>", line 941, in _find_and_load_unlocked


 "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed


 "<frozen importlib._bootstrap>", line 994, in _gcd_import


 "<frozen importlib._bootstrap>", line 971, in _find_and_load


 "<frozen importlib._bootstrap>", line 941, in _find_and_load_unlocked


 "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed


 "<frozen importlib._bootstrap>", line 994, in _gcd_import


 "<frozen importlib._bootstrap>", line 971, in _find_and_load


 "<frozen importlib._bootstrap>", line 941, in _find_and_load_unlocked


 "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed


 "<frozen importlib._bootstrap>", line 994, in _gcd_import


 "<frozen importlib._bootstrap>", line 971, in _find_and_load


 "<frozen importlib._bootstrap>", line 941, in _find_and_load_unlocked


 "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed


 "<frozen importlib._bootstrap>", line 994, in _gcd_import


 "<frozen importlib._bootstrap>", line 971, in _find_and_load


 "<frozen importlib._bootstrap>", line 941, in _find_and_load_unlocked


 "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed


 "<frozen importlib._bootstrap>", line 994, in _gcd_import


 "<frozen importlib._bootstrap>", line 971, in _find_and_load


 "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked


 "<frozen importlib._bootstrap>", line 665, in _load_unlocked


 "<frozen importlib._bootstrap_external>", line 678, in exec_module


 "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed


 "/home/wei16/anaconda3/envs/tf2.2/lib/python3.6/site-packages/tensorflow_estimator/__init__.py", line 10, in <module>

from tensorflow_estimator._api.v1 import estimator


 "/home/wei16/anaconda3/envs/tf2.2/lib/python3.6/site-packages/tensorflow_estimator/_api/v1/estimator/__init__.py", line 10, in <module>

from tensorflow_estimator._api.v1.estimator import experimental


 "/home/wei16/anaconda3/envs/tf2.2/lib/python3.6/site-packages/tensorflow_estimator/_api/v1/estimator/experimental/__init__.py", line 10, in <module>

from tensorflow_estimator.python.estimator.canned.dnn import dnn_logit_fn_builder


 "/home/wei16/anaconda3/envs/tf2.2/lib/python3.6/site-packages/tensorflow_estimator/python/estimator/canned/dnn.py", line 23, in <module>

from tensorflow.python.feature_column import dense_features


 "/home/wei16/anaconda3/envs/tf2.2/lib/python3.6/site-packages/tensorflow/python/feature_column/dense_features.py", line 30, in <module>

class DenseFeatures(fc._BaseFeaturesLayer):
# pylint: disable=protected-access
AttributeError: module 'tensorflow.python.feature_column.feature_column_v2' has no attribute '_BaseFeaturesLayer'
