Closed
Description
Question❓
I'm having issues when I run the line from diffeqpy import de
in Python 3.9.6 and with Julia 1.8.3. installed.
I get the following error:
>>> from diffeqpy import de
Activating project at `~/.julia/environments/diffeqpy`
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/natasa/Library/Python/3.9/lib/python/site-packages/diffeqpy/de.py", line 5, in <module>
de.jit = Main.seval("jit(x) = typeof(x).name.wrapper(ModelingToolkit.modelingtoolkitize(x), x.u0, x.tspan, x.p)") # kinda hackey
File "/Users/natasa/.julia/packages/PythonCall/wXfah/src/jlwrap/any.jl", line 204, in __setattr__
self._jl_callmethod($(pyjl_methodnum(pyjlany_setattr)), k, v)
AttributeError: Julia: cannot assign variables in other modules
Any feedback will be much appreciated!