# The question-answering example in the doc throws an AttributeError exception. Please help

**URL:** <https://discuss.huggingface.co/t/the-question-answering-example-in-the-doc-throws-an-attributeerror-exception-please-help/2611>\
**Category:** Beginners\
**Created:** [December 5, 2020, 5:40pm UTC](https://discuss.huggingface.co/t/the-question-answering-example-in-the-doc-throws-an-attributeerror-exception-please-help/2611 "2020-12-05T17:40:39Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![GPN](https://avatars.discourse-cdn.com/v4/letter/g/a8b319/32.png) [@GPN](https://discuss.huggingface.co/u/GPN)\
**Post date:** [December 5, 2020, 8:10pm UTC](https://discuss.huggingface.co/t/the-question-answering-example-in-the-doc-throws-an-attributeerror-exception-please-help/2611/4 "2020-12-05T20:10:57Z")

</div>

> [@GPN](#):
>
> My environment now (after having upgraded transformers as per instructions) is
> 
> - `transformers` version: 4
> - Platform: Windows-10-10.0.18362-SP0
> - Python version: 3.6.12
> - PyTorch version (GPU?): 1.7.0 (False)
> - Tensorflow version (GPU?): not installed (NA)
> - Using GPU in script?: No
> - Using distributed or parallel set-up in script?: No

Hi

Though my original issue was resolved, I now have a new one: the `transformers-cli` is crashing.

I type

```auto
transformers-cli --help

```

and the result is

```auto
Traceback (most recent call last):
  File "c:\users\gilad\miniconda3\envs\speechdemoenv_nmt\lib\runpy.py", line 193, in _run_module_as_main
    " __main__", mod_spec)
  File "c:\users\gilad\miniconda3\envs\speechdemoenv_nmt\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Users\Gilad\miniconda3\envs\speechDemoEnv_NMT\Scripts\transformers-cli.exe\ __main__.py", line 4, in <module>
  File "c:\users\gilad\miniconda3\envs\speechdemoenv_nmt\lib\site-packages\transformers\commands\transformers_cli.py", line 4, in <module>
    from transformers.commands.add_new_model import AddNewModelCommand
  File "c:\users\gilad\miniconda3\envs\speechdemoenv_nmt\lib\site-packages\transformers\commands\add_new_model.py", line 8, in <module>   
    from cookiecutter.main import cookiecutter
ModuleNotFoundError: No module named 'cookiecutter'

```

Help!

---

_[View the full topic](https://discuss.huggingface.co/t/the-question-answering-example-in-the-doc-throws-an-attributeerror-exception-please-help/2611)._
