SIMPLE-AstroDB / SIMPLE-db

BSD 3-Clause "New" or "Revised" License
11 stars 21 forks source link

Work out pip installation instructions #493

Closed dr-rodriguez closed 4 weeks ago

dr-rodriguez commented 2 months ago

Regardless of whether SIMPLE is pip-installable, we want to work out details for how a user can install what they need with pip without needing conda.

dr-rodriguez commented 2 months ago

Looking at how the tests set up the environment is a good starting point, but we may want to do things like a requirements.txt file (which is similar to conda's environment.yml)

kelle commented 1 month ago
conda  create -n "simple-db" python=3.10
conda activate simple-db
pip install pytest ads matplotlib
pip install astrodbkit2
pip install git+https://github.com/astrodbtoolkit/astrodb_utils.git@main
kelle commented 1 month ago

Both summer students (Kieran and Evan) had exactly the same problem with the current conda instructions. Multiple packages were not able to be found. I added the http://ssb.stsci.edu/astroconda channel and it didn't help.

The pip instructions I pasted above did seem to work, however. 😊

image

kelle commented 4 weeks ago

Lets try to get this to work: pip install -r requirements.txt