-
Notifications
You must be signed in to change notification settings - Fork 59
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
imp no longer exists in 3.12 #195
Comments
I believe this is caused by the |
Speaking of maclookup, we ran into issues using the pip install as it didn't include the maclookup requirement. Maybe the requirement.txt should include all modules and then have other files if you want a slim version? Or maybe wrap the import in a Try / Except as an optional component. We're not even using the maclookup afaik, but would get this error.
But yeah, replacing it all together may be good idea. |
Perhaps doing this might avoid it as a main application requirement by only importing it if it's actually used.
|
Looks like there are several alternatives or could probably just use |
Thanks for raising, and for the solution ideas. I found a different, offline lookup package and switched to that. |
Description
Import from imp fail since imp is no longer supported in python 3.12. Generates lots of the the following error(s)
The text was updated successfully, but these errors were encountered: