[AstroPy] Weird Pyraf issues

Nicholas Ross npross at roe.ac.uk
Sat Aug 24 07:06:34 EDT 2019


Hi there, 

I am having big difficulties with my Pyraf install, namely, my whole MacBook Pro (OS X 10.14.6) 
crashes whenever I try and simply open an IRAF graphics window, e.g. 

> source activate iraf27
	(iraf27) ~/DataReduction/20190628 > ipython
	Python 2.7.16 |Anaconda, Inc.| (default, Aug 22 2019, 10:59:10) 
	Type "copyright", "credits" or "license" for more information.
	IPython 5.8.0 -- An enhanced Interactive Python.
	?         -> Introduction and overview of IPython's features.
	%quickref -> Quick reference.
	help      -> Python's own help system.
	object?   -> Details about 'object', use 'object??' for extra details.
	Using matplotlib backend: TkAgg

	In [1]: from pyraf import iraf

	In [2]: iraf.splot('r2824072.fit[1]’)

From here, I get directly booted out and back to the Mac login screen (yup, seriously!) 

I’ve just re-installed the conda distribution from 
https://astroconda.readthedocs.io/en/latest/updating.html#updating-conda
> conda create -n iraf27 python=2.7 iraf-all pyraf-all stsci

However, if I start an xgterm, and then do 
> cl 
and run IRAF from that command line, I can then do splot fine. 

Any help would be *SO* appreciated!!

Yours, 
Nic


====================================
  Dr. Nicholas P. Ross
  STFC Ernest Rutherford Fellow
  Institute for Astronomy
  University of Edinburgh
  Royal Observatory, Blackford Hill 
  Edinburgh EH9 3HJ, United Kingdom
  +44 (0)131-668 8351
  d80b2t.github.io
====================================








More information about the AstroPy mailing list