'python web copy continuously throws TypeError: multiple bases have instance lay-out conflict

I'm trying to follow the instructions for a coding lesson.

I am installing Python web copy but I continuously get this error:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "D:\Python\lib\site-packages\pywebcopy\__init__.py", line 49, in <module>
    from .configs import config, SESSION
  File "D:\Python\lib\site-packages\pywebcopy\configs.py", line 18, in <module>
    from .exceptions import AccessError
  File "D:\Python\lib\site-packages\pywebcopy\exceptions.py", line 46, in <module>
    class UrlTransformerNotSetup(PywebcopyError, UnboundLocalError):
TypeError: multiple bases have instance lay-out conflict

Things I've tried:

  1. Uninstalling then reinstalling pyweb copy as well as python and pip
  2. Moving around files
  3. Adding pip to path.
    • D:\Python\Lib # this is the path for pip
    • D:\Python # Path for python


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source