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

FileNotFoundError for jwst data Extraction #115

Closed
SLimbu30 opened this issue Dec 30, 2022 · 5 comments
Closed

FileNotFoundError for jwst data Extraction #115

SLimbu30 opened this issue Dec 30, 2022 · 5 comments

Comments

@SLimbu30
Copy link

SLimbu30 commented Dec 30, 2022

Can anyone help me how I can resolve this error? I have followed the instruction given in https://spacetelescope.github.io/jdat_notebooks/install.html
but still seem to have some type of error:
"FileNotFoundError: Unable to fetch schema from non-file URL: http://stsci.edu/schemas/jwst_datamodel/image.schema".

MicrosoftTeams-image

@camipacifici
Copy link
Contributor

Hi @karatmate, this problem is caused by a mismatch of versions between stcal, jwst, and asdf. Can you please paste here the versions you are using for these three packages?
I am assuming this is the same problem you reported here.

@SLimbu30 SLimbu30 closed this as completed Jan 4, 2023
@SLimbu30 SLimbu30 reopened this Jan 4, 2023
@SLimbu30
Copy link
Author

SLimbu30 commented Jan 4, 2023

Hello, @camipacifici Thank you very much for helping me resolve this issue, I appreciate it alot. Yes, that is also the problem that I posted. The versions of stcal and asdf are as below:
Name: stcal ; Version: 1.3.0
Name: asdf; Version: 2.14.3
I couldn't use pip install jwst to install the package maybe because I am in windows, but I can attach the problem it shows when I try to use that code. So instead I use GitHub to clone this jwst: https://github.com/spacetelescope/jwst.git

This is the first error code I get:
1st error code

This is whats written in the end of the error code:

Last error codde

I did try and install visual studio C++ packages but it didn't do any difference. If there's any way I can get it to work, it would be amazing! thank you!

@camipacifici
Copy link
Contributor

Hi @karatmate, I did not realize you are on a windows machine. Unfortunately, windows is not currently supported for the jwst package (as mentioned on the readme of the jwst github repository).
Any chance you can use a different machine or a linux virtual machine on your windows machine?

@SLimbu30
Copy link
Author

SLimbu30 commented Jan 5, 2023

Thank you for your response. I used my mac to get the data sorted. I had an error initially which was solved by installing xcode. But regardless thanks for your help.

@SLimbu30 SLimbu30 closed this as completed Jan 5, 2023
@camipacifici
Copy link
Contributor

Glad you managed to solve the issue!

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