Welcome to iraf.net Thursday, March 28 2024 @ 10:39 PM GMT


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

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
 Quote
fitz
 10/16/2017 03:47PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
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
 Quote
   
Content generated in: 0.06 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

Login