Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "tflearn/__init__.py", line 4, in <module>

from . import config


 "tflearn/config.py", line 5, in <module>

from .variables import variable


 "tflearn/variables.py", line 7, in <module>

from tensorflow.contrib.framework.python.ops import add_arg_scope as contrib_add_arg_scope


 "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/__init__.py", line 29, in <module>

from tensorflow.contrib import factorization


 "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/factorization/__init__.py", line 24, in <module>

from tensorflow.contrib.factorization.python.ops.gmm import *


 "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/factorization/python/ops/gmm.py", line 32, in <module>

from tensorflow.contrib.learn.python.learn import graph_actions


 "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/__init__.py", line 70, in <module>

from tensorflow.contrib.learn.python.learn import *


 "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/__init__.py", line 23, in <module>

from tensorflow.contrib.learn.python.learn import *


 "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/__init__.py", line 25, in <module>

from tensorflow.contrib.learn.python.learn import estimators


 "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/estimators/__init__.py", line 310, in <module>

from tensorflow.contrib.learn.python.learn.estimators.dnn import DNNClassifier


 "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/estimators/dnn.py", line 29, in <module>

from tensorflow.contrib.learn.python.learn.estimators import dnn_linear_combined


 "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/estimators/dnn_linear_combined.py", line 33, in <module>

from tensorflow.contrib.learn.python.learn.estimators import estimator


 "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/estimators/estimator.py", line 51, in <module>

from tensorflow.contrib.learn.python.learn.learn_io import data_feeder


 "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/learn_io/__init__.py", line 32, in <module>

from tensorflow.contrib.learn.python.learn.learn_io.numpy_io import numpy_input_fn


 "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/learn_io/numpy_io.py", line 22, in <module>

from tensorflow.contrib.learn.python.learn.dataframe.queues import feeding_functions


 "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/dataframe/__init__.py", line 26, in <module>

from tensorflow.contrib.learn.python.learn.dataframe.tensorflow_dataframe import TensorFlowDataFrame


 "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/dataframe/tensorflow_dataframe.py", line 31, in <module>

from tensorflow.contrib.learn.python.learn.dataframe.transforms import in_memory_source


 "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/dataframe/transforms/in_memory_source.py", line 22, in <module>

from tensorflow.contrib.learn.python.learn.dataframe.queues import feeding_functions


 "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/dataframe/queues/feeding_functions.py", line 38, in <module>

import pandas as pd


 "/usr/lib/python2.7/dist-packages/pandas/__init__.py", line 44, in <module>

from pandas.io.api import *


 "/usr/lib/python2.7/dist-packages/pandas/io/api.py", line 10, in <module>

from pandas.io.html import read_html


 "/usr/lib/python2.7/dist-packages/pandas/io/html.py", line 25, in <module>

import bs4


 "/usr/lib/python2.7/dist-packages/bs4/__init__.py", line 29, in <module>

from .builder import builder_registry


 "/usr/lib/python2.7/dist-packages/bs4/builder/__init__.py", line 306, in <module>

from . import _html5lib


 "/usr/lib/python2.7/dist-packages/bs4/builder/_html5lib.py", line 57, in <module>

class TreeBuilderForHtml5lib(html5lib.treebuilders._base.TreeBuilder):
AttributeError: 'module' object has no attribute '_base'

Traceback (most recent call last):


 "/usr/lib/python3.8/runpy.py", line 193, in _run_module_as_main

return _run_code(code, main_globals, None,


 "/usr/lib/python3.8/runpy.py", line 86, in _run_code

exec(code, run_globals)


 "/path/to/python/lib/python3.8/site-packages/pip/__main__.py", line 23, in <module>

from pip._internal.cli.main import main as _main
# isort:skip # noqa


 "/path/to/python/lib/python3.8/site-packages/pip/_internal/cli/main.py", line 5, in <module>

import locale


 "/usr/lib/python3.8/locale.py", line 16, in <module>

import re


 "/usr/lib/python3.8/re.py", line 143, in <module>

class RegexFlag(enum.IntFlag):

AttributeError: module 'enum' has no attribute 'IntFlag'
