-
-
Notifications
You must be signed in to change notification settings - Fork 182
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
error on numpy types due to ignored dill.settings in dump_session #155
Comments
Ok, I see the traceback, but can you post a minimal bit of code that can reproduce the traceback? That way, it can be debugged much easier if I can reproduce it for myself. In the abstract, you might want to try to toggle some of the settings in |
Sure, had some troubles to narrow done the problem, but this one should reproduce the problem: import dill
from sympy import Symbol, lambdify
x = Symbol("x")
H = lambdify(x, x, "numpy")
dill.dump_session() Thanks |
I'm fairly sure that this is due to the issues from #79 and #78. You can see that the error comes from the failed picking of the
Looking at the source code, At this point, I'm not yet sure if this is a duplicate issue, or a new one. Depends on why In short, I'll need to look into it further. Let me know if you can confirm by changing |
Any progress on extending recurse to |
I ran the code suggested above, but still get the same error as before. I also checked to have all my packages up-to-date. It seems lambdify(...,'numpy') cannot be dumped whatsoever. |
@sajad-872797, @tmastny: I believe the |
@mmckerns I actually did
And I got this:
|
Wondering if there's any updates on sajad's post? I got a similar error, which cannot be solved by
|
@matthew-hsr: the ability to pickle a |
Hi,
When trying to
dump_session
in a Jupyter notebook, withnumpy
items, I get a huge traceback:Found #79 but it should not be the same issue, as I am importing
numpy
asimport numpy as np
.Thanks
The text was updated successfully, but these errors were encountered: