-
Notifications
You must be signed in to change notification settings - Fork 10
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
Trouble calling Julia Function from Python Code #153
Comments
bdas123
changed the title
Trouble calling
Trouble calling Julia Function from Python Code
Aug 9, 2022
could you please post a complete example I can run to reproduce the error? |
Python Code:
Julia Code
|
is this still an issue with the latest versions of Julia, pyjulia and Nonconvex? |
Hello, no it is not. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am running the following Julia code from a Python script:
However, when I do so, I get the following error:
JuliaError: Exception 'MethodError: no method matching is_propertynames_overloaded(::Type{NonconvexNLopt.NLoptResult{Vector{Float64}, Float64, NLopt.Opt, Symbol, NLoptAlg{Nothing}, NLoptOptions{NamedTuple{(:suboptions, :ftol_rel, :ftol_abs, :xtol_rel, :xtol_abs), Tuple{NLoptOptions{NamedTuple{(), Tuple{}}}, Float64, Float64, Float64, Float64}}}, Int64}}) The applicable method may be too new: running in world age 46028, while current world is 91608. Closest candidates are: is_propertynames_overloaded(::Type) at /home/ubuntu/.julia/packages/ConstructionBase/sfPqM/src/ConstructionBase.jl:71 (method too new to be called from this world context.)' occurred while calling julia code: optimization(x0)
This was not a problem before the recent update.
The text was updated successfully, but these errors were encountered: