Status: offline
Registered: 10/16/2017
Posts: 1
|
Hi all,
I have been trying to figure this one out all weekend, but I can't seem to find a similar error online. I have the anaconda environment with the legacy IRAF/PyRAF installation. IRAF works perfectly fine and I have installed iraf-all and pyraf-all as well as stsci. However, whenever I try to open PyRAF (same error no matter where I open from) I get the following:
Traceback (most recent call last):
File "/Users/Allie/anaconda2/envs/IRAF/bin/PyRAF", line 4, in
__import__('pkg_resources').run_script('pyraf==2.2.dev0', 'pyraf')
File "/Users/Allie/anaconda2/envs/IRAF/lib/python2.7/site-packages/pkg_resources/__init__.py", line 748, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/Users/Allie/anaconda2/envs/IRAF/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1517, in run_script
exec(code, namespace, namespace)
File "/Users/Allie/anaconda2/envs/IRAF/lib/python2.7/site-packages/pyraf-2.2.dev0-py2.7-macosx-10.7-x86_64.egg-info/scripts/pyraf", line 93, in
from pyraf import doCmdline, _use_ipython_shell, runCmd, __version__
ImportError: cannot import name doCmdline
Any help or advice would be greatly appreciated! Thanks!
|