-
Notifications
You must be signed in to change notification settings - Fork 61
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
Export of SymPy symbol from module gives ReadOnlyMemoryError #365
Comments
SOrry this took so long. It is cumbersome to do this, but https://github.com/jverzani/SymPyTest.jl/blob/master/src/SymPyTest.jl shows how. One thing showing up in the test package is testing against x64 fails under travis. |
Thank you for taking the time of doing this. |
No, sorry. That comment is that showing this object Can you run the tests in the package? This worked for me on a new image from within a Jupyter notebook:
If that fails, I wonder if there is an underlying OS issue. |
Sorry for the delayed answer. Yes, the test run. I ended up doing something like this:
and the output is
Indeed exporting a definition is cumbersome. |
Yeah, that is how it needs to be done. It isn't pretty, but seemingly needed to work with run-time generated objects from python. |
When I import the following module
and I try to access b from the REPL, I get:
Ref: https://discourse.julialang.org/t/export-of-sympy-symbol-from-module-gives-readonlymemoryerror/43426
The text was updated successfully, but these errors were encountered: