My new iMac with Yosemite arrived this week and I have to install all the software packages I use including Sherpa. I had to install Python Anaconda then setup my local git directory
and clone sherpa:
$ git clone https://github.com/sherpa/sherpa.git
Next go and install sherpa:
$ cd sherpa
$ sherpa setup.py install
The build failed as I did not have gfortran.
Installing gfortran was easy - just got the package from https://gcc.gnu.org/wiki/GFortranBinaries
and follow the instructions.
With this update the basic Sherpa installation completed. I run the sherpa_test which failed as I did not have pyfits.
Used
$ pip install pyfits
Then I run sherpa_test and this time the tests passed. I still need to install ds9, but now I have Sherpa and can run some of the analysis that I have to do today.
Subscribe to:
Post Comments (Atom)
Awesome! Hope to see pip install sherpa soon.
ReplyDeleteDid you run into a problem when using ui.plot_fit or ui.plot_data? It compiles for me, but the plot doesn't actually pop up
ReplyDeleteDid you do %matplotlib or start ipython session with
ReplyDelete'ipython --pylab'?