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

Need to import requests #125

Open
camipacifici opened this issue Sep 4, 2024 · 2 comments
Open

Need to import requests #125

camipacifici opened this issue Sep 4, 2024 · 2 comments

Comments

@camipacifici
Copy link

Hi Folks,
I am installing astrocut using pip in a fresh conda environment with python=3.11. The version it is pulling is 0.11.1.
When I run
from astrocut import fits_cut
it complains that it does not find the package requests.
If I manually install the requests package, everything works.
I did not have this problem until a month or so ago. Am I missing something? Should requests be pulled automatically? Or is this by design? I am not finding any relevant info in the docs, sorry.
Thank you for any explanation!

@scfleming
Copy link
Collaborator

Maybe need to add this under the setup.cfg file as an "install requires" @snbianco ?

@snbianco
Copy link
Collaborator

snbianco commented Sep 4, 2024

Yep, I will make that change. TIL that requests is not part of the standard library!

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