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

Installation was a touch tricky #6

Open
thmire opened this issue Oct 3, 2024 · 1 comment
Open

Installation was a touch tricky #6

thmire opened this issue Oct 3, 2024 · 1 comment

Comments

@thmire
Copy link

thmire commented Oct 3, 2024

When attempting to install, I found that once I got to the point of importing hostphot I received the error:
ImportError: cannot import name 'update_default_config' from 'astropy.config.configuration' (/home/treynolds/mambaforge/envs/hostphot/lib/python3.12/site-packages/astropy/config/configuration.py)

After some research, I found that this was due to astropy removing some functions. I managed to install and run hostphot, but it required installing:
Python=3.10
Astropy=5.3.4

Things work fine now, but you might want to check that you can reproduce my installation method and add this to the installation instructions.

@temuller
Copy link
Owner

temuller commented Oct 4, 2024

Hi. Thanks for reporting this. I just tried installing hostphot on a new environment and encountered the same error. However, this seems to be an issue with Aplpy. They actually have an open issue: aplpy/aplpy#505. It would be better if they solve it, but I'll see if I find a workaround or if they are working on a solution.

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