radiasoft / download

Install scripts for "curl | bash"
Apache License 2.0
3 stars 5 forks source link

beamsim tests failed with: ModuleNotFoundError: No module named 'more_itertools' #699

Closed e-carlin closed 4 months ago

e-carlin commented 4 months ago
  File "/home/vagrant/src/radiasoft/sirepo/sirepo/template/flash.py", line 22, in <module>
    import rsflash.plotting.extracts
  File "/home/vagrant/.pyenv/versions/3.9.15/envs/py3/lib/python3.9/site-packages/rsflash/plotting/extracts.py", line 8, in <module>
    import yt
  File "/home/vagrant/.pyenv/versions/3.9.15/envs/py3/lib/python3.9/site-packages/yt/__init__.py", line 12, in <module>
    import yt.utilities.physical_constants as physical_constants
  File "/home/vagrant/.pyenv/versions/3.9.15/envs/py3/lib/python3.9/site-packages/yt/utilities/physical_constants.py", line 3, in <module>
    from yt.units.yt_array import YTQuantity
  File "/home/vagrant/.pyenv/versions/3.9.15/envs/py3/lib/python3.9/site-packages/yt/units/yt_array.py", line 3, in <module>
    from yt.funcs import array_like_field  # NOQA: F401
  File "/home/vagrant/.pyenv/versions/3.9.15/envs/py3/lib/python3.9/site-packages/yt/funcs.py", line 24, in <module>
    from more_itertools import always_iterable, collapse, first
ModuleNotFoundError: No module named 'more_itertools'

Something I removed In https://github.com/radiasoft/download/pull/698/files must've pulled it in.

e-carlin commented 4 months ago

yt (what requires more_tools) comes from rsbeams. So, I rebuilt rsbeams which now contains more_tools instead of it being in common.