pyminuit
pyminuit copied to clipboard
Calling Pyminuit inside a script
trafficstars
What steps will reproduce the problem?
1. Run a Python script (OK)
with 2. Import minuit (OK)
and 3.execute any minuit command (e.g. minuit.Minuit(something))
What is the expected output? What do you see instead?
Expected: No errors.
What Happens: "AttributeError: 'module' object has no attribute 'Minuit'"
What version of the product are you using? On what operating system?
Pyminuit 1.1.1 on Mac OS 10.5.8
Please provide any additional information below.
Pyminuit works flawlessly in the Python prompt, but I cannot get it working
inside a Python
script. I seems the module minuit is imported without errors, but when I try to
use
minuit.Minuit() this error happens...
Is there any reason why Pyminuit can not me used inside a script? Perhaps I
messed up
something during the installation and it only works on a Python prompt?
Thanks,
John
Original issue reported on code.google.com by [email protected] on 27 Aug 2009 at 4:36