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

ModuleNotFoundError when installing benchcab v4.0.0 in a fresh conda environment #263

Closed
SeanBryan51 opened this issue Mar 12, 2024 · 0 comments · Fixed by #266
Closed
Assignees
Labels
bug Something isn't working

Comments

@SeanBryan51
Copy link
Collaborator

benchcab --version fails with a ModuleNotFoundError when installing benchcab v4.0.0 in a fresh conda environment:

module load conda
conda deactivate
conda create -c conda-forge -c accessnri -c coecms -y -n benchcab-install-test python=3.10 benchcab=4.0.0
conda activate benchcab-install-test
benchcab --version
Traceback (most recent call last):
  File "/scratch/tm70/sb8430/conda/envs/benchcab-install-test/bin/benchcab", line 7, in <module>
    from benchcab.main import main
  File "/home/189/sb8430/benchcab/benchcab/__init__.py", line 6, in <module>
    from benchcab.utils import get_logger
  File "/home/189/sb8430/benchcab/benchcab/utils/__init__.py", line 17, in <module>
    from jinja2 import BaseLoader, Environment
ModuleNotFoundError: No module named 'jinja2'

It looks like we forgot to add jinja2 as a dependency in meta.yaml and benchcab-dev.yaml.

@SeanBryan51 SeanBryan51 added the bug Something isn't working label Mar 12, 2024
@SeanBryan51 SeanBryan51 self-assigned this Mar 12, 2024
@SeanBryan51 SeanBryan51 linked a pull request Mar 12, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant