Could not create the Minuit minimizer

Hello, I am puzzled with this error. I have installed ROOT through the Anaconda package, it runs on OSX
(py36) [bigmac 14:47 0 ~/prog]$uname -a

Darwin bigmac 17.7.0 Darwin Kernel Version 17.7.0: Thu Dec 20 21:47:19 PST 2018; root:xnu-4570.71.22~1/RELEASE_X86_64 x86_64

(py36) [bigmac 14:40 0 ~]$root
   ------------------------------------------------------------
  | Welcome to ROOT 6.18/04                  https://root.cern |
  |                               (c) 1995-2019, The ROOT Team |
  | Built for macosx64 on Dec 18 2019, 12:29:00                |
  | From tag , 11 September 2019                               |
  | Try '.help', '.demo', '.license', '.credits', '.quit'/'.q' |
   ------------------------------------------------------------

root [0] h = TH1F("gauss","Example histogram",100,-4,4)
(TH1F &) Name: gauss Title: Example histogram NbinsX: 100
root [1] h.FillRandom("gaus")
root [2] h.Fit("gaus")
Warning in <ROOT::Math::FitConfig::CreateMinimizer>: Could not create the Minuit minimizer. Try using the minimizer Minuit2
Error in <ROOT::Math::FitConfig::CreateMinimizer>: Could not create the Minuit2 minimizer
Error in <ROOT::Math::Fitter::FitFCN>: Minimizer cannot be created
Warning in <Fit>: Abnormal termination of minimization.
Warning in <TCanvas::ResizePad>: c1 width changed from 0 to 10

Warning in <TCanvas::ResizePad>: c1 height changed from 0 to 10

Info in <TCanvas::MakeDefCanvas>:  created default TCanvas with name c1
<Empty FitResult>
(TFitResultPtr) <nullptr TFitResult>

I can’t find anything similar in the forum, would someone have any idea ?
Thanks,
Jean-Marc

Found it … I had an old .rootrc in my directory.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.