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 clarification #6

Open
bhilbert4 opened this issue Oct 25, 2018 · 3 comments
Open

Installation clarification #6

bhilbert4 opened this issue Oct 25, 2018 · 3 comments

Comments

@bhilbert4
Copy link

This may be related to #3. I've heard from a few people (via JWST help desk and in person) who have had trouble installing jwst_backgrounds because of trouble with healpy.

The only way I was able to get healpy and jwst_backgrounds to successfully install on my Mac laptop (running OSX 10.13.6) was to use the following sequence of commands:

conda config --add channels conda-forge
conda install healpy
pip install jwst_backgrounds

When I tried installing healpy via pip, the jwst_backgrounds installation failed.

This seems like a common enough problem that it might be useful to update the installation instructions for jwst_backgrounds to mention the healpy installation.

@pontoppi
Copy link

pontoppi commented Nov 2, 2018

Thanks! I've added your solution to the readme.

@JarronL
Copy link
Contributor

JarronL commented Jun 10, 2020

One other thing is that we don't want conda-forge to be the top priority channel in our .condrc file when installing healpy, otherwise it can downgrade some packages or install versions that don't play nicely with the default conda install. This is how I have my .condarc setup in terms of priority:

channels:
  - defaults
  - http://ssb.stsci.edu/astroconda
  - conda-forge

I found this configuration to work well before conda install healpy. Then perform pip install jwst_backgrounds

@isenberg
Copy link

I also had problems this week to install it when I tried it first on Python 3.10 without conda. Could solve it by switching to 3.9 without conda. For details see #20

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

4 participants