Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

No module named 'gluon_compat'

57 views
Skip to first unread message

Ron Chatterjee

unread,
Apr 27, 2025, 10:17:10 AMApr 27
to web2py-users
Hello friends,

Its been a while I have used web2py. Using python 3 and run into this error when click database administration

On appadmin.py line 13 
from gluon._compat import iteritems.

I get the error no module named 'gluon_compat'

I see Massimos old post, "make sure web2py is in pathonpath'.

How to add web2py into python path. Can someone assist me? Or the problem is something else?

pcwalden

unread,
May 11, 2025, 3:19:36 PMMay 11
to web2py-users
I ran into this problem recently when I updated my web2py to version 3.0.11.

I had to replace the applications/<my app>/controllers/appadmin.py in my application with the newer applications/welcome/controllers/appadmin.py

I did not change my python path.

Ron Chatterjee

unread,
May 24, 2025, 2:41:00 PMMay 24
to web2py-users
Thank you. Appreciate the help! 
Reply all
Reply to author
Forward
0 new messages