-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Unable to import extensions in Python 3.12 / ModuleNotFoundError #1430
Comments
brentvollebregt
changed the title
ModuleNotFoundError: No module named 'bottle.ext.[extension]'
Unable to import extensions in Python 3.12
Oct 7, 2023
brentvollebregt
changed the title
Unable to import extensions in Python 3.12
Unable to import extensions in Python 3.12 / ModuleNotFoundError
Oct 7, 2023
To add more info to this, I see support for the
The changelog recommends using |
This is already implemented in 0.13-dev and will be released soon. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After upgrading to Python 3.12, importing an extension, for example
from bottle.ext.websocket import websocket
, now gives the following error:My environment:
Reproduction:
pip install bottle==0.12.25 bottle-websocket==0.2.9
Investigation / Potential Solution:
I see this error does not occur on master but it does on the release-0.12 branch / 0.12.25 tag. Using the changes from ca6762c that are currently on master seems to fix this issue.
The text was updated successfully, but these errors were encountered: