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

Project not compatible with Python 3.12 #12

Open
volkertb opened this issue Aug 18, 2024 · 0 comments
Open

Project not compatible with Python 3.12 #12

volkertb opened this issue Aug 18, 2024 · 0 comments

Comments

@volkertb
Copy link

volkertb commented Aug 18, 2024

There are multiple breaking changes in Python 3.12 that are preventing this project from installing properly:

First one is this error:

ModuleNotFoundError: No module named 'distutils'

A workaround for this it to install the module setuptools.

Installing requirements.txt yields yet another error (I forgot which one), which is subsequently resolved by bumping up numpy to version 2.0.0. But then, when trying to install the modules in requirements.txt once more, another error is thrown:

...
        File "/tmp/pip-install-ch6d8th7/matplotlib_9bc770f3d2234c93bf58f0478f68252b/versioneer.py", line 401, in get_config_from_root
          parser = configparser.SafeConfigParser()
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?
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