Closed jessjaco closed 4 years ago
Appears to be some sort of packaging issue ??? (sorry I don't know julia) as this works (from R):
system("julia -e 'import Pkg; Pkg.add(\"MbedTLS_jll\");using Circuitscape'")
Was Pkg; Pkg.add("MbedTLS_jll")
necessary to get it to work? I see you're not doing that when running from Julia.
Yes, I had to add that in the call from R.
What happens when you do system("julia")
-> ]add MbedTLS_jll
-> using Circuitscape
? Same error? I think this isn't a Circuitscape problem, so just trying to narrow it down a bit to determine who to ask for help.
No that works too.
Okay -- do you have to do the same to load other packages, or just Circuitscape? Maybe try using ArchGDAL
directly after system("julia")
and see if the same error gets thrown
I think the mbedtls library is not right. Can you try doing using Pkg; Pkg.update()
to see if it gets upgraded and the problem goes away?
Did not help. I take it you are not seeing this error?
@vlandau yes I'm getting the same error using using ArchGDAL
. So this is not a Circuitscape issue.
Something is messed up with the Julia install. If you don't have any packages you are working on (unsaved work) in.julia/dev
, I would suggest wiping .julia
or some way to upgrade the mbedtls dependency.
Thanks, this turned out to be a local install error. I had previously used the ubuntu version of julia and removing it didn't remove libjulia1
I am trying to run Circuitscape from inside R.
This works as expected (from a command prompt):
This gives an error
Using the
JuliaCall
package to call julia gives the same error