Module error

46 views
Skip to first unread message

Gaël Princivalle

unread,
Dec 7, 2020, 8:51:41 AM12/7/20
to web2py-users

Hello.

Moving an app to another server I've this error:
<type 'exceptions.ImportError'> No module named applications.myapp.modules.requests

Of course I've the modules in my app.
The previous Web2py version was 2.14.16.
Now I use 2.20.4.

Someone knows what's the problem?

Thanks.

Warwick JC

unread,
Dec 7, 2020, 9:36:28 AM12/7/20
to web...@googlegroups.com
Easier and crazy way I do is install the requests module in modules folder or site packages. 

--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups "web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to web2py+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/70c43a4c-6698-4068-8f7e-9b322a647e1dn%40googlegroups.com.

Gaël Princivalle

unread,
Dec 7, 2020, 10:43:13 AM12/7/20
to web2py-users
That's crazy for sure.
The modules are in the modules folder .
I don't understand why they don't appear in the modules list and why they're not found by my application.

Warwick JC

unread,
Dec 7, 2020, 11:11:11 AM12/7/20
to web...@googlegroups.com
I had the same issue with pygal. After putting the pygal moduIe in the modules folder all was sorted. 

Reply all
Reply to author
Forward
0 new messages