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

pip fails to install hawc_hal due to pytables #38

Closed
henrikef opened this issue Oct 23, 2020 · 2 comments
Closed

pip fails to install hawc_hal due to pytables #38

henrikef opened this issue Oct 23, 2020 · 2 comments

Comments

@henrikef
Copy link
Contributor

I'm getting the following error installing hawc_hal with pip (this is with python 3.7.8, astromodels 2.0.0 and threeML 2.0.0 from conda):

ERROR: Could not find a version that satisfies the requirement pytables (from astromodels->hawc-hal==1.0) (from versions: none)
ERROR: No matching distribution found for pytables (from astromodels->hawc-hal==1.0)

I was able to work around this by using pip install --no-deps to install hawc_hal (and installing all dependencies manually).

However, the same error is now also causing the automated tests to fail.

Any idea where this is coming from? I do have pytables installed, but pip isn't picking up on it:

(st3ml) √ my3ML/hawc_hal $ pip list | grep pytables                                                                                                                    22:42:50
(st3ml) ?1 my3ML/hawc_hal $ conda list pytables                                                                                                                        22:42:55
# packages in environment at /Users/hfleisc1/opt/anaconda3/envs/st3ml:
#
# Name                    Version                   Build  Channel
pytables                  3.6.1            py37he95298d_3    conda-forge

Also, I don't find pytables mentioned anywhere in the hawc_hal dependencies.

@henrikef
Copy link
Contributor Author

This seems to be a python 3 issue only... See https://travis-ci.org/github/threeML/hawc_hal/jobs/738193405#L1016 (install fails) and https://travis-ci.org/github/threeML/hawc_hal/jobs/738193403#L1121 (install succeeds).

@henrikef
Copy link
Contributor Author

Solved with threeML/astromodels#134

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

1 participant