Depending on how you use matplotlib you may need to surround your calls
with a lock section.
--
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
Thanks for your response!
I've imported the libraries I was planning on using, however I noticed that
Matplotlib doesn't seem to want to play nicely with Web2Py.
If I try to produce a plot of my data set and open the web app, Web2Py will
stop responding.
Is this a known issue? Perhaps I have
found this related to locking :
https://redis.io/topics/distlock
topic is very hermetic so if someone successfully implemented a lock in the
production context of a web application i would really appreciate he shares
his esoteric knowledge with us: 'the ignorants'
--
Resources:
-
Is there a reliable way to determine whether or not a library is
thread-safe ?
what's the web2py method for locking ?(module: thread/threading ? what
kind of lock with what option: blocking/non-blocking) ?)
thanks
--
Resources:
- http://web2py.com
- http://web2py.com/book
I have. Works fine.
You can import any python library in web2py as long as it is installed.
You can have issues with libraries that are not thread safe and if they
are, you will have to lock when using them.
I do not know for sure which algos in scikit learn are thread safe and
which ones are
5 matches
Mail list logo