make sure web2py is in *PYTHONPATH*

Em quarta-feira, 1 de novembro de 2017 21:57:21 UTC-2, Massimo Di Pierro 
escreveu:
>
> make sure web2py is in PYTHON_PATH
>
> On Wednesday, 1 November 2017 08:19:02 UTC-5, Omicron VT wrote:
>>
>>
>>
>> El miércoles, 1 de noviembre de 2017, 9:17:45 (UTC-3), Omicron VT 
>> escribió:
>>>
>>> I have been using websocket_messaging.py without problems in version 
>>> 2.14.6. After upgrading to 2.15.4 i can not start websocket_messaging 
>>> anymore, iget this error :
>>> ImportError: No module named gluon.utils
>>>
>>> Any help ? Thanks
>>>
>>
>> Yes, but no solution.
>>
>> I think this lines(96-97) in messaging_websocket.py are the problem :
>> import gluon.utils
>> from gluon._compat import to_native, to_bytes, urlencode, urlopen
>>
>> and if i try to import /gluon/utils.py from python console i get a 
>> similar error:
>>   File "utils.py", line 30, in <module>
>>     from gluon._compat import basestring, pickle, PY2, xrange, to_bytes, 
>> to_native
>> ImportError: No module named gluon._compat
>>
>>
>>

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/4694f994-865e-4197-bea5-687f43667993%40googlegroups.com.

Reply via email to