Hi,
Could you describe the system you have (i.e. OS, hyperspy version, and how you installed it)?
There was a change how to start hyperspy since version 0.8.1.
Namely, the hyperspy magic (i.e. "%hyperspy") has to be run before using any of the functions.
Yet another change is that we will discourage mixing up name-spaces.... Which in simple terms means that in the future you will have to use all hyperspy functions with a "hs." before it - e.g. your line of code will have to be
A = hs.load("Au w Cu Agg.rpl').as_spectrum(0)
Note that most of the functions, e.g. plotting, will be unaffected, as they are not "general", but functions of the object, in this particular case "A":
A.plot()
would still work as expected.
Tomas