--
You received this message because you are subscribed to the Google Groups "brython" group.
To unsubscribe from this group and stop receiving emails from it, send an email to brython+u...@googlegroups.com.
To post to this group, send email to bry...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/brython/6717bd1d-2c3c-4e03-9820-c83cfcdf67d9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I am trying to import into Brython a module (pubchempy) that I installed on my Linux system using pip. I receive the following errors:GET http://127.0.0.1:5000/static/js/brython/Lib/site-packages/pubchempy.py [HTTP/1.0 404 NOT FOUND 1ms]
The actual list of "module was not found" is long. I just included first two samples. Then, I placed pubchempy.py and __future__.py modules in static/js/brython/Lib/site-packages folder and the errors above are gone. So I am wondering if there is a simpler way of importing modules into Brython.
--
You received this message because you are subscribed to a topic in the Google Groups "brython" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/brython/IzNg0cSk6kI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to brython+u...@googlegroups.com.
To post to this group, send email to bry...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/brython/CAAb4jG%3DoqSgzzFM0VEF1Z1n2LzhZDe6N5Mo2OxP_o0T14rBmuw%40mail.gmail.com.
The actual list of "module was not found" is long. I just included first two samples. Then, I placed pubchempy.py and __future__.py modules in static/js/brython/Lib/site-packages folder and the errors above are gone. So I am wondering if there is a simpler way of importing modules into Brython.
Also, those modules do not currently run in brython. One day they might, if the c code is translated to python or javascript.
To view this discussion on the web visit https://groups.google.com/d/msgid/brython/CAB-sx63-VAphmQACjFBXS1f18OM5WV-SGZfPh8u3vrKLSPe-HQ%40mail.gmail.com.