[Solved] AttributeError: module ‘logging‘ has no attribute ‘Handler‘

Traceback (most recent call last):
  File "/home/odoo/python-dev/python_interview_exercise/python_libs/0-pandas.py", line 3, in <module>
    import numpy
  File "/home/odoo/.local/lib/python3.6/site-packages/numpy/__init__.py", line 223, in <module>
    from .testing import Tester
  File "/home/odoo/.local/lib/python3.6/site-packages/numpy/testing/__init__.py", line 8, in <module>
    from unittest import TestCase
  File "/usr/lib/python3.6/unittest/__init__.py", line 59, in <module>
    from .case import (TestCase, FunctionTestCase, SkipTest, skip, skipIf,
  File "/usr/lib/python3.6/unittest/case.py", line 278, in <module>
    class _CapturingHandler(logging.Handler):
AttributeError: module 'logging' has no attribute 'Handler'

Solution:
the file name is logging.py and renamed to another name, such as demo_logging.py

Read More: