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

Medusa will not start after upgrading python to 3.12 - AttributeError: module 'pkgutil' #11633

Open
rr0ss0rr opened this issue Feb 22, 2024 · 1 comment

Comments

@rr0ss0rr
Copy link

rr0ss0rr commented Feb 22, 2024

Python 3.12 removes the deprecated pkgutil.ImpImporter class preventing Medusa from starting

  File "/Applications/Medusa/lib/pkg_resources/__init__.py", line 2172, in <module>
    register_finder(pkgutil.ImpImporter, find_on_path)
                    ^^^^^^^^^^^^^^^^^^^
AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'?

Downgrading python to 3.11 allows medusa to start properly

Thanks

@rr0ss0rr rr0ss0rr changed the title Medusa will not start after upgrading python to 3.12.1 - AttributeError: module 'pkgutil' Medusa will not start after upgrading python to 3.12 - AttributeError: module 'pkgutil' Feb 22, 2024
@John-Gee
Copy link

Any other option that downgrading?

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

2 participants