You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading to Python 3.12, importing an extension, for example from bottle.ext.websocket import websocket, now gives the following error:
Traceback (most recent call last):
File "C:\...\test.py", line 1, in <module>
from bottle.ext.websocket import websocket
ModuleNotFoundError: No module named 'bottle.ext.websocket'
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:
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
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: