Closed IzaakWN closed 1 year ago
The latest version v0.12.0 of hepdata_lib
is already available in PyPI: https://pypi.org/project/hepdata-lib/
I think the issue is that an old version of hepdata_lib
v0.4.1 must already be installed in your environment. To upgrade it, use the --upgrade
option: pip3 install hepdata_lib --user --upgrade
Hi @IzaakWN - thanks for reporting this issue. However, it is not a pip or hepdata_lib issue, but it's related to the CMSSW release you're using and hepdata_lib already being installed there (the old version you see there). Also, pip/pip3 are provided by CMSSW.
I would advise against using CMSSW and I think we need to remove https://hepdata-lib.readthedocs.io/en/latest/setup.html#setup-on-lxplus-with-cmssw. Instead, please try https://hepdata-lib.readthedocs.io/en/latest/setup.html#using-singularity instead and report any issues.
I would like to report an installation issue I ran into with
pip
.To get
hepdata_lib
to work on my machine (PSI's T3) where my input files are, I had to modify the installation command withpip
topip3
, e.g.However, go some errors for empty bins, e.g.
because apparently the
hepdata_lib
version viapip(3)
was relatively old:To fix this, I had to get the latest one with
Is it possible to change the default
hepdata_lib
version installed by pip to prevent this issue for other users?