pyhf version installation >=0.6.0 #1523
-
Dear pyhf community, I am trying to install the latest version of pyhf using python -m pip install pyhf, but the version I get is 0.5.4. Unfortunately, the minuit_optimizer is crashing as "tolerance" is not included in this minuit version (1.5.4). Should I be using the git installation python -m pip install --upgrade "git+https://github.com/scikit-hep/pyhf.git#egg=pyhf" ? Thank you very much! Best, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
@ssaha1234 It sounds like there's a few things happening here: First, I assume from what you're saying that your Python version is Our recommendation is that you upgrade your Python runtime to Second,
sounds like you're trying to use APIs from newer versions of If you look back at the So if you're going to use As |
Beta Was this translation helpful? Give feedback.
@ssaha1234 It sounds like there's a few things happening here:
First, I assume from what you're saying that your Python version is
3.6
.pyhf
dropped support for Python 3.6 back inv0.6.0
(2021-02-15) after we announced the plan to do so in January 2021 on thepyhf-announcements
mailing list and didn't get any responses asking us to hold off. (We'd recommend joining the mailing list if you aren't on it already! :) )Our recommendation is that you upgrade your Python runtime to
3.7
or3.8
. This should be easy to do on your personal laptop and any cluster that has CVMFS on it has LCG views that support Python3.7+
. If you have questions on this though we can try to point you to resources.Se…