Skip to content

evaluate-cli for creating measurements seems not to work #211

@meg-huggingface

Description

@meg-huggingface

Following the installation instructions here:
https://huggingface.co/docs/evaluate/installation

And then trying to add a new measurement, following: https://huggingface.co/docs/evaluate/creating_and_sharing and using python3.9,

I get this error:

(.env) bash-3.2$ evaluate-cli create "npmi" module_type="measurement"
Traceback (most recent call last):
  File "/Users/margaretmitchell/HuggingFace/git/data-measurements-tool/.env/bin/evaluate-cli", line 33, in <module>
    sys.exit(load_entry_point('evaluate', 'console_scripts', 'evaluate-cli')())
  File "/Users/margaretmitchell/HuggingFace/git/data-measurements-tool/.env/bin/evaluate-cli", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/opt/anaconda3/lib/python3.9/importlib/metadata.py", line 86, in load
    module = import_module(match.group('module'))
  File "/opt/anaconda3/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/Users/margaretmitchell/HuggingFace/git/data-measurements-tool/evaluate/src/evaluate/commands/evaluate_cli.py", line 6, in <module>
    from cookiecutter.main import cookiecutter
ModuleNotFoundError: No module named 'cookiecutter'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions