STOR-i / GaussianProcesses.jl

A Julia package for Gaussian Processes
https://stor-i.github.io/GaussianProcesses.jl/latest/
Other
308 stars 53 forks source link

"Params not defined" when loading GaussianProcesses package #185

Open mchitre opened 3 years ago

mchitre commented 3 years ago

I'm getting this on a fresh REPL:

julia> using GaussianProcesses
ERROR: InitError: UndefVarError: Params not defined
Stacktrace:
 [1] top-level scope
   @ none:1
during initialization of module Inner

on Julia 1.6.1 and this environment:

  [336ed68f] CSV v0.8.4
  [a93c6f00] DataFrames v1.1.1
  [891a1506] GaussianProcesses v0.12.3
  [91a5bcdd] Plots v1.14.0
  [df1fea92] SignalAnalysis v0.4.0
mchitre commented 3 years ago

Hmm... on further investigation, this problem seems to occur depending on the order of installation of packages. I can't find a way to reliably replicate this, but I sometimes get it with just CSV and DataFrames installed, along with GaussianProcesses. However, changing the order in which I install fixes it.

doorisajar commented 3 years ago

I have the same problem, and solved it the same way you did: installing GaussianProcesses first. I haven't been able to determine the cause of the problem yet, but if I can reliably reproduce it, I'll post an update here.