astronomy
astronomy copied to clipboard
missing directory and files after installing with "pip install astronomy-engine"
Hello,
I use a MacBook with MacOS 10.13.6 and Python Python 3.12.0
I installed astronomy-engine through pip (see title)
I looked, downloaded (in a local directory) . and tried various demo scripts at
https://github.com/cosinekitty/astronomy/blob/master/demo/python/
I could then write my own python program and run it with success (thanks !!)
The issue is with stars_near_moon.py
the line with open('../../generate/hyg_v36_1.csv') as starfile:
gives an error since there is no "generate" directory and no "hyg_v36_1.csv file"
I searched in various places with no success.
I then downloaded https://github.com/cosinekitty/astronomy/blob/master/generate/run
and run it. the result is shown below:
`€ ./run
Local file not found: lnxp1600p2200.405 Attempting download from: https://github.com/cosinekitty/ephemeris/raw/master/lnxp1600p2200.405
2024-06-29 09:09:47 URL:https://raw.githubusercontent.com/cosinekitty/ephemeris/master/lnxp1600p2200.405 [55900416/55900416] -> "lnxp1600p2200.405" [1] wget successfully downloaded the file. ./run: line 61: ./checksum.py: No such file or directory lnxp1600p2200.405 ERROR(./run): Detected corrupt file: failed sha256 check. ` I then checked again for directory "generate" but could not find it.
the line with open('../../generate/hyg_v36_1.csv') as starfile:
seems to assumes some current working directory. How can this work ?
I found an issue entitled " Rewrite entire build process in Python #295 " is my question related ?
with my best regards
note: I know nothing about how to use GitHub. Please be explicit