Keck-DataReductionPipelines / MosfireDRP

http://keck-datareductionpipelines.github.io/MosfireDRP
10 stars 13 forks source link

problem with mospy handle #149

Closed sinataamoli closed 3 years ago

sinataamoli commented 3 years ago

Hi all,

I'm new to use MOSFIRE DRP and I followed the steps in [https://keck-datareductionpipelines.github.io/MosfireDRP/] to install the DRP. I'm not sure if it's installed correctly as I cannot use mospy handle

does anyone know the problem?

joshwalawender commented 3 years ago

Hi @sinataamoli can you try the following test for me:

Activate the relevant environment: conda activate mospy

then invoke mospy mospy

That should give you a standard python interpreter. Does that work on your system?

-Josh

sinataamoli commented 3 years ago

Hi @sinataamoli can you try the following test for me:

Activate the relevant environment: conda activate mospy

then invoke mospy mospy

That should give you a standard python interpreter. Does that work on your system?

-Josh

Thanks for the answer. This is exactly what I did, but still doesn't work. This is what happens: (base) [sina@sina reduced]$ conda activate mospy (mospy) [sina@sina reduced]$ mospy handle /home/sina/anaconda3/DATA/2012sep10/*.fits bash: /home/sina/anaconda3/envs/mospy/bin/mospy: /bin/csh: bad interpreter: No such file or directory

joshwalawender commented 3 years ago

Can you just invoke mospy, not mospy handle?

sinataamoli commented 3 years ago

I tried mospy instead of mospy handle in terminal and I got the error again: (mospy) [sina@sina reduced]$ mospy /home/sina/anaconda3/DATA/2012sep10/*.fits bash: /home/sina/anaconda3/envs/mospy/bin/mospy: /bin/csh: bad interpreter: No such file or directory I'm not sure if I'm doing anything wrong. I'm using Manjaro and mospy was installed without any error.

Can you just invoke mospy, not mospy handle?

I tried mospy instead of mospy handle in terminal and I got the error again: (mospy) [sina@sina reduced]$ mospy /home/sina/anaconda3/DATA/2012sep10/*.fits bash: /home/sina/anaconda3/envs/mospy/bin/mospy: /bin/csh: bad interpreter: No such file or directory I'm not sure if I'm doing anything wrong. I'm using Manjaro and mospy was installed without any error.

followthesheep commented 3 years ago

Are you using linux? It sounds like you might need to install cshell. I think the script uses csh to run itself.

sinataamoli commented 3 years ago

Are you using linux? It sounds like you might need to install cshell. I think the script uses csh to run itself.

Yes, that was the problem. it worked. Thanks a lot