Skip to content
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

Python 3.12 compatibility: distutils is no longer available #102

Open
hvbtup opened this issue Apr 10, 2024 · 0 comments
Open

Python 3.12 compatibility: distutils is no longer available #102

hvbtup opened this issue Apr 10, 2024 · 0 comments

Comments

@hvbtup
Copy link

hvbtup commented Apr 10, 2024

Maybe it's time to remove support for dmtx version < 0.75 and remove the if statements.

distutils (and distutils.LooseVersion) are no longer available on Python 3.12:

from pylibdmtx import pylibdmtx
Traceback (most recent call last):
File "", line 1, in
File "....venv\Lib\site-packages\pylibdmtx\pylibdmtx.py", line 10, in
from .wrapper import (
File "....venv\Lib\site-packages\pylibdmtx\wrapper.py", line 8, in
from distutils.version import LooseVersion
ModuleNotFoundError: No module named 'distutils'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant