impy-project / chromo

Hadronic Interaction Model interface in PYthon
Other
31 stars 7 forks source link

missing dependency "packaging" and numpy 2 issue on clean install #205

Open flxrhn opened 4 months ago

flxrhn commented 4 months ago

Maybe I was being naive but on a bare system in an empty virtual environment pip install chromo does not produce a working installation. simple test program fails with "ModuleNotFoundError: No module named 'packaging'". After that the issue is that pip will install numpy >2. In order to get chromo to work I had to downgrade to numpy 1.xx. Shouldn't all of this be done by pip install chromo ?

afedynitch commented 4 months ago

Thanks, @flxrhn. We noticed this issue in #203, where our tests started failing.

One issue is that EPOS doesn't build the signature files on windows and something sketchy happens on Macs. We'll look into this asap. For now the recommended workaround is to use numpy<2 as you correctly point out.