pyjulia icon indicating copy to clipboard operation
pyjulia copied to clipboard

`python3 -m julia.sysimage sys.so` fails

Open jlapeyre opened this issue 4 years ago • 0 comments

python3 -m julia.sysimage sys.so
ERROR: LoadError: cannot assign a value to variable Pkg.Pkg from module Main
Stacktrace:
 [1] top-level scope
   @ ~/code/github/JuliaPy/pyjulia/src/julia/install-packagecompiler.jl:7
in expression starting at /home/username/code/github/JuliaPy/pyjulia/src/julia/install-packagecompiler.jl:7
Command '['julia', '--color=yes', '/home/username/code/github/JuliaPy/pyjulia/src/julia/install-packagecompiler.jl', '/tmp/tmp.pyjulia.sysimage.e5dk2gb7/compiler_env']' returned non-zero exit status 1.

Julia v1.6.4, and v.1.7.0

Linux

Python 3.9.7

pyjulia commit cec4bf0b0eac7e39cecd8f3e7882563062903d0f , Oct 25, 2021

jlapeyre avatar Dec 08 '21 00:12 jlapeyre