MilesCranmer commited on
Commit
598dc57
1 Parent(s): aa67d1b

Add missing `using Pkg`

Browse files
Files changed (1) hide show
  1. pysr/julia_helpers.py +1 -0
pysr/julia_helpers.py CHANGED
@@ -83,6 +83,7 @@ def install(julia_project=None, quiet=False): # pragma: no cover
83
  # Install SymbolicRegression.jl:
84
  _add_sr_to_julia_project(Main, io_arg)
85
 
 
86
  Main.eval(f"Pkg.instantiate({io_arg})")
87
  Main.eval(f"Pkg.precompile({io_arg})")
88
  if not quiet:
 
83
  # Install SymbolicRegression.jl:
84
  _add_sr_to_julia_project(Main, io_arg)
85
 
86
+ Main.eval("using Pkg")
87
  Main.eval(f"Pkg.instantiate({io_arg})")
88
  Main.eval(f"Pkg.precompile({io_arg})")
89
  if not quiet: