Skip to content

Library package not compatible with Python 3.12 - distutils #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Saxos-Simone opened this issue Dec 21, 2023 · 0 comments
Open

Library package not compatible with Python 3.12 - distutils #8

Saxos-Simone opened this issue Dec 21, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Saxos-Simone
Copy link

Symptom

Hi, trying to run a Python script that imports the connect function:

from interbase import connect

I receive the following error:

ModuleNotFoundError: No module named 'distutils'

And the following traceback:

Traceback (most recent call last):
  File "...\plugins\python-ce\helpers\pydev\pydevd.py", line 1527, in _exec
    pydev_imports.execfile(file, globals, locals)  # execute the script
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "...\plugins\python-ce\helpers\pydev\_pydev_imps\_pydev_execfile.py", line 18, in execfile
    exec(compile(contents+"\n", file, 'exec'), glob, loc)
  File "...\main.py", line 4, in <module>
    from interbase import connect
  File "...\Lib\site-packages\interbase\__init__.py", line 27, in <module>
    from interbase.ibcore import *
  File "...\Lib\site-packages\interbase\ibcore.py", line 41, in <module>
    from distutils import util

Cause

I believe the cause of the problem is that the distutils module was deprecated and removed in Python 3.12.

As you can read in the official documentation

@checkdigits checkdigits added the bug Something isn't working label Dec 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants