Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mospy handle fails due to ccdproc issue #151

Open
CallumWitten opened this issue Feb 28, 2022 · 3 comments
Open

mospy handle fails due to ccdproc issue #151

CallumWitten opened this issue Feb 28, 2022 · 3 comments

Comments

@CallumWitten
Copy link

I have created the mospy environment using, conda env create KeckObservatory/mospy, on Linux.

When I type mospy into the command line, it opens mospy, however when I try to run mospy handle, I get the following error:
File "/home/.local/lib/python3.6/site-packages/MOSFIRE-1.0.dev0-py3.6.egg/MOSFIRE/IO.py", line 22, in
import ccdproc
ModuleNotFoundError: No module named 'ccdproc'

I have subsequently attempted to install ccdproc however, I get told: Requirement already satisfied.

Does anyone know how to solve this issue?

@joshwalawender
Copy link
Contributor

@CallumWitten Try removing the environment

conda remove --name mospy --all

then creating it using the mospy.yaml file in the repo:

conda env create -f mospy.yaml

Let me know if that makes a difference.

thanks!

@CallumWitten
Copy link
Author

@joshwalawender thanks for that, that appears to have solved that issue. When I enter mospy handle, I get a response that appears to be correct, ending with: "Usage: mospy handle [target]". However, when I then go to enter "mospy handle pathtofile", I get the following error: "mospy_handle.py: No match." Do you know what might be causing this?

Thanks!

@CallumWitten
Copy link
Author

@joshwalawender please ignore my above comment for the minute, I think it may have been an issue with my path, that I may have now solved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants