Welcome to iraf.net Monday, January 22 2018 @ 10:01 PM GMT

 Forum Index > Help Desk > General IRAF New Topic Post Reply
 PyRAF doCmdline fail on startup
 10/16/2017 03:39PM (Read 315 times)  

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!

Profile Email
 10/16/2017 03:47PM  

Status: offline

Registered: 09/30/2005
Posts: 3992
If you don't get a response here you might also write to the STScI Help Desk (help@stsci.edu) since they maintain pyraf. If you're using an older version of astroconda/ureka then an update might help.

Profile Email
Content generated in: 0.12 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies

Privacy Policy
Terms of Use

User Functions