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

python version error #7

Open
palfeng opened this issue May 18, 2023 · 1 comment
Open

python version error #7

palfeng opened this issue May 18, 2023 · 1 comment

Comments

@palfeng
Copy link

palfeng commented May 18, 2023

Hello, I'm a new user for Nifty4Gemini to reduce NIFS data. After I installed geminiconda following https://www.gemini.edu/observing/phase-iii/reducing-data/gemini-iraf-data-reduction-software and I download the Nifty4Gemini codes in this github, I still cannot install Nifty4Gemini since it warns that the python version is wrong (while I do have the correct version). I attach the screenshot below. Can you please advise where is wrong? Thanks!
Screenshot 2023-05-18 at 5 09 21 PM

@palfeng palfeng changed the title Which Astroconda version needed? python version error May 19, 2023
@palfeng
Copy link
Author

palfeng commented May 19, 2023

Ok. The above issue is solved once I downgrade my python to 2.7. But I still cannot load "import nifty" and the error is:

import nifty
Traceback (most recent call last):
File "", line 1, in
File "/home/parallels/anaconda3/envs/geminiconda27/lib/python2.7/site-packages/pyraf/irafimport.py", line 116, in _irafImport
retval = _originalImport(name, globals, locals, fromlist, level)
File "./nifty/init.py", line 1, in
import pipeline.nifsPipeline as nifsPipeline
File "/home/parallels/anaconda3/envs/geminiconda27/lib/python2.7/site-packages/pyraf/irafimport.py", line 116, in _irafImport
retval = _originalImport(name, globals, locals, fromlist, level)
File "nifty/pipeline/nifsPipeline.py", line 49, in
from objectoriented.getConfig import GetConfig
File "/home/parallels/anaconda3/envs/geminiconda27/lib/python2.7/site-packages/pyraf/irafimport.py", line 116, in _irafImport
retval = _originalImport(name, globals, locals, fromlist, level)
ImportError: No module named getConfig

I have changed that there is indeed a file call GetConfig.py in the correct path, but not sure why it is error. Can you please help? Thanks!

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

1 participant