There is currently no support for using a specific version of a python standard library.
The current "standard" library in Pyjs is a hodge podge of stuff people have ported over the years from a variety of Python versions. We need to come up with a solution to deal with this problem so that pyjs can be tied to some predictable version of the Python standard library. - lex On Mon, Nov 11, 2013 at 1:58 PM, Clavier <[email protected]> wrote: > Hi. > > I encountered an error in importing a library 'functools' which is from > the default Python library (I am using it for asynchronous programming). > The desktop version (pyjd) has no problem with it. But the browser version > pops up the following error message: > > "Import Error: No module named functools." > > Is 'functools' library not supported in Pyjs? I copied the source code > from the library and made it a local code, and it seems that it works (not > tested fully yet though). > > Thanks. > > -- > > --- > You received this message because you are subscribed to the Google Groups > "Pyjs.org 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. > -- --- You received this message because you are subscribed to the Google Groups "Pyjs.org 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.
