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

Unable to import spaceKLIP package in a jupyter notebook #175

Closed
asahooexo opened this issue May 20, 2024 · 5 comments
Closed

Unable to import spaceKLIP package in a jupyter notebook #175

asahooexo opened this issue May 20, 2024 · 5 comments

Comments

@asahooexo
Copy link

I did a git pull to update my develop version and noticed that the requirements.txt has been updated, therefore followed instructions to create a new conda envrionment. I found that git lfs was required to complete the installation of pyklip package inside the environment. Also, I installed jupyter notebook inside this environment for accessing tutorial docs.

However, after installation I am unable to import spaceKLIP.
Attaching the error message here:

(I have already updated my mast token. I am not sure why I see this message. )

Screen Shot 2024-05-20 at 11 59 43 AM

@asahooexo
Copy link
Author

Can someone please let me know how to fix this error?

@asahooexo
Copy link
Author

Got to know from @juliengirard that we have to change the path name in our bash profile, something local like export PYSYN_CDBS=‘/Users/Downloads/data/ for import to work.

I tested that the local path works for me.

@kammerje
Copy link
Collaborator

Does it work for you now? Seems like it was related to an incomplete installation of PySynphot.

@asahooexo
Copy link
Author

@kammerje yes it seems to work for me now, though unable to do full reduction with dev version.
Getting same error as seen in issue #172 .

@JarronL
Copy link
Collaborator

JarronL commented May 21, 2024

Just to clarify, this is a synphot/stsynphot path issue. The separate pysynphot is no longer a dependency.

See: https://stsynphot.readthedocs.io/en/latest/#installation-and-setup

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

3 participants