-
Notifications
You must be signed in to change notification settings - Fork 618
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: Migrate from deprecated imp to importlib #204
base: master
Are you sure you want to change the base?
Conversation
I tried with your settings but now I get the same error but on line 15 import yaml Traceback (most recent call last): |
That has nothing to do with my PR. This is to fix the problem with Python 3.12, which doesn't have |
Its working
|
|
This PR migrates from
imp
toimportlib
.The helper function followed https://docs.python.org/3/whatsnew/3.12.html#imp
This should make recon-ng work with Python 3.12