https://groups.google.com/forum/#!searchin/web2py/importerror/web2py/FEYjCpBPpWU/9OfvXCeyPMoJ

I found this thread as I searched for a solution. I can confirm that in my 
app, there is an __init__.py in modules. It is blank (as it has been since 
I created the app), but it is there. Could this have something to do with 
the issue?

On Tuesday, February 11, 2014 4:21:54 PM UTC-7, Chris Hepworth wrote:
>
> Just to test I set up a VM running Ubuntu. I installed all relevant 
> packages and I am still receiving the same error. Any suggestions?
>
> On Tuesday, February 11, 2014 2:12:42 PM UTC-7, Chris Hepworth wrote:
>>
>> There is an import for pymaging, which must have already been installed 
>> on my Ubuntu machine. Installing it on Windows seems to be more trouble 
>> than its worth, so I'll just wait to get my Ubuntu environment set up on 
>> another machine. Thanks for the suggestion though!
>>
>> On Tuesday, February 11, 2014 1:15:35 PM UTC-7, Niphlod wrote:
>>>
>>> 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.

Reply via email to