-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PyCall hangs after one call with Rails + SciKit Learn #95
Comments
Please show the code and the conditions for reproducing this error. |
Having same problem. In my instance I am using a method in an external python module and this is in a Rails controller. After one call is made, I cannot make another call. The second call will hang.
|
I have the same problem when I use https://github.com/yohasebe/ruby-spacy (which is based on PyCall). |
I'm having the same issue. My Rails app hangs forever when on eager_load = false. The line of code that is doing it is:
Its on a initializer. My app is very simple, and it freezes just by having this line. |
I'm getting the following error the first time that
sklearn
is imported:I'm not a python dev, but it seems semaphore has something to do with parallel processing.
When I'm in a rails console, I can run my code without issues (still get the warning). In the web application, it runs once, then it hangs. If I navigate away from the page where it runs, the app is fine. If I come back to the previous page, it crashes entirely. Would love some help!
The text was updated successfully, but these errors were encountered: