sffjunkie / astral

Python calculations for the position of the sun and moon.
Apache License 2.0
237 stars 47 forks source link

Installation via conda-forge #52

Open pierrick-giffard opened 4 years ago

pierrick-giffard commented 4 years ago

Hi, I would like to use Astral for daylight calculations. I installed Astral with conda-forge (my conda version is 4.8.2) and I got Astral version 1.9.2. How can I get the last version? Also, when I run command from astral import sun I get the following error:

ImportError: cannot import name 'sun'

Any idea?

sffjunkie commented 4 years ago

That appears to be because that is the latest version the maintainers of the feedstock have created. You'll need to raise an issue at https://github.com/conda-forge/astral-feedstock to get it updated.

jbusecke commented 3 years ago

I was running into the same issue and dug a bit in the astral-feedstock repo. I have a fix that seems to work here, but it seems like the repo over there is not very active anymore. Ill wait for a bit and see if any of the maintainers responds. In case that is not successful, is anybody here in touch with folks who are maintaining the feedstock?