Skip to content

Python 3.12 - ModuleNotFoundError: No module named 'distutils' #43

Description

@MPins
File "/.../bitcoin-tx-tutorial/venv/lib/python3.12/site-packages/notebook/utils.py", line 15, in <module>
    from distutils.version import LooseVersion
ModuleNotFoundError: No module named 'distutils'

It seems that starting with Python 3.10, the distutils module was marked as deprecated.
As of Python 3.12, it has been completely removed from the standard library.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions