ericmandel / pyds9

Python connection to SAOimage DS9 via XPA
76 stars 41 forks source link

OSError: [Errno 2] No such file or directory #67

Closed eh2006re closed 6 years ago

eh2006re commented 6 years ago

Hello,

I just installed pyds9 on my Debian machine ( Description: Debian GNU/Linux 9.4 (stretch) Release: 9.4 Codename: stretch )

cd pyds9-1.7 sudo python2.7 setup.py install

However, when I tried in python2.7 shell, it failed

import ds9

d = ds9.ds9() Traceback (most recent call last): File "", line 1, in File "/usr/local/lib/python2.7/dist-packages/ds9.py", line 283, in init self.pid = subprocess.Popen([ds9Globals["progs"][1], '-title', target] + args) File "/usr/lib/python2.7/subprocess.py", line 390, in init errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1024, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory

am I missing something during install ?

look forward to hearing from you. Best regards

xiaofeng

montefra commented 6 years ago

Do you have DS9 installed and in the $PATH? The error suggests that the answer is "no".

eh2006re commented 6 years ago

Dear Francesco

No, I forgot to install DS9, Ok, I will do that soon. and let you know

thanks for your quick reply.

Best regards

xiaofeng

On 25 April 2018 at 19:56, Francesco Montesano notifications@github.com wrote:

Do you have DS9 installed and in the $PATH? The error suggests that the answer is "no".

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ericmandel/pyds9/issues/67#issuecomment-384396811, or mute the thread https://github.com/notifications/unsubscribe-auth/AFJjmFoJpoH_vYB_gTt3j9VSIKUtY5xXks5tsMbPgaJpZM4TjUoo .

-- cheers xiaofeng

eh2006re commented 6 years ago

Dear Francesco

after I installed DS9, it works. many thanks

regards xiaofeng

On 25 April 2018 at 21:14, Xiaofeng Gao eh2006re@gmail.com wrote:

Dear Francesco

No, I forgot to install DS9, Ok, I will do that soon. and let you know

thanks for your quick reply.

Best regards

xiaofeng

On 25 April 2018 at 19:56, Francesco Montesano notifications@github.com wrote:

Do you have DS9 installed and in the $PATH? The error suggests that the answer is "no".

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ericmandel/pyds9/issues/67#issuecomment-384396811, or mute the thread https://github.com/notifications/unsubscribe-auth/AFJjmFoJpoH_vYB_gTt3j9VSIKUtY5xXks5tsMbPgaJpZM4TjUoo .

-- cheers xiaofeng

-- cheers xiaofeng

montefra commented 6 years ago

Glad to hear it. I close the issue then