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

Deprecated "imp" module is used. Does not work with Python 3.12 #87

Open
augustasvol opened this issue Jun 7, 2024 · 1 comment
Open

Comments

@augustasvol
Copy link

anvil_downlink_worker/__init__.py", line 2, in <module>
    import ast, sys, imp, importlib, time
ModuleNotFoundError: No module named 'imp'

imp module is deprecated, so in Python 3.12 the anvil-runtime does not work, since it tries to import imp and throws this error.

Please fix this, this Python version is used in the latest Ubuntu LTS

@Brock1998
Copy link

You can use pyenv to use a different version, I use 3.11.9 to run the applications and 3.12 to run the servers

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