You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to call a Julia function defined in a module (say MyModule, defined in MyModule.jl) in a Python script. I did something along the lines of
from juliacall import Main as jl
jl.seval('push!(LOAD_PATH, "<path to MyModule.jl>")')
jl.seval("using MyModule")
ret = jl.MyModule.some_function(arg1,arg2,arg3)
however I am getting an error:
juliacall.Error: ArgumentError: Package MyModule not found in current path:
- Run `import Pkg; Pkg.add("MyModule")` to install the MyModule package.