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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to