py4web gives error importing pydal due to FancyUrlOpener using python 3.14

24 views
Skip to first unread message

Davidiam

unread,
Oct 20, 2025, 7:00:12 AMOct 20
to py4web
One of our developers got an error starting py4web when it hit the import pydal statement in core.py :

Cannot import name 'FancyUrlOpener' from urllib.request

I found this article:

It seems that FancyUrlOpener no longer exists in python 3.14 and therefore py4web gives an error if you are using python 3.14 or higher in your environment.

Massimo DiPierro

unread,
Oct 21, 2025, 12:52:27 AMOct 21
to py4web
Thanks for brining this up. 
FancyUrlOpener was in fact recently removed from py4web and pydal. Make sure you upgraded to the latest.
Reply all
Reply to author
Forward
0 new messages