are all the dependencies of that module satisfied on the windows environment ? for imported modules, if some of the libraries it depends on are missing, the error that web2py can show is that it's unable to import the module (meaning, it can't load it because there is some error in it vs - what you're probably guessing - its a non-existant module )
On Tuesday, February 11, 2014 9:09:32 PM UTC+1, Chris Hepworth wrote: > > > I recently had to set up a new environment (my desktop running Ubuntu is > dead) on my Windows laptop. I have a module called *qrcode *that worked > fine in my old environment and hasn't had an issue on pythonanywhere. After > I cloned the application, however, I received this error. Is there > something special about Windows? I am working on replacing my desktop, but > in the meantime I would love to get this working. Any help would be much > appreciated! > > <type 'exceptions.ImportError'> No module named mqr.modules > Version > > web2py™Version 2.8.2-stable+timestamp.2013.11.28.13.54.07PythonPython > 2.7.5: C:\web2py\web2py.exe (prefix: C:\Python27) > > Traceback > > 1. > 2. > 3. > 4. > 5. > 6. > 7. > > Traceback (most recent call last): > File "/home/mdipierro/make_web2py/web2py/gluon/restricted.py", line 217, in > restricted > File "C:/web2py/applications/mqr/controllers/cms.py" > <http://127.0.0.1:8000/admin/default/edit/mqr/controllers/cms.py>, line 105, > in <module> > import qrcode > File "/home/mdipierro/make_web2py/web2py/gluon/custom_import.py", line 76, > in custom_importer > ImportError: No module named > > -- 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

