# Unable to run crunch.test() locally

**URL:** <https://forum.crunchdao.com/t/unable-to-run-crunch-test-locally/1122>\
**Category:** (closed) Obesity ML Challenge Part 2\
**Tags:** setup\
**Created:** [March 14, 2026, 7:52am UTC](https://forum.crunchdao.com/t/unable-to-run-crunch-test-locally/1122 "2026-03-14T07:52:33Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![profitable-abhishek](https://forum.crunchdao.com/user_avatar/forum.crunchdao.com/profitable-abhishek/32/888_2.png) [@profitable-abhishek](https://forum.crunchdao.com/u/profitable-abhishek)\
**Post date:** [March 14, 2026, 7:52am UTC](https://forum.crunchdao.com/t/unable-to-run-crunch-test-locally/1122/1 "2026-03-14T07:52:33Z")

</div>

When I try to download the data using

```markdown
!crunch setup-notebook broad-obesity-2 XXXXXXXXX --submission scratch

```

Where XXXXXXXX is my token that I got from website. Now, when I execute this command, I get following error:

crunch-cli, version 10.13.3  
delete /home/user/Crunch1/Crunch2/user/run1/.crunchdao  
you decided to start from scratch, previous submission will not be downloaded  
Traceback (most recent call last):  
File “/home/user/crunch/bin/crunch”, line 8, in   
sys.exit(cli())  
File “/home/user/crunch/lib/python3.10/site-packages/click/core.py”, line 1485, in \__call_\_  
return self.main(\*args, \*\*kwargs)  
File “/home/user/crunch/lib/python3.10/site-packages/click/core.py”, line 1406, in main  
rv = self.invoke(ctx)  
File “/home/user/crunch/lib/python3.10/site-packages/click/core.py”, line 1873, in invoke  
return \_process\_result(sub\_ctx.command.invoke(sub\_ctx))  
File “/home/user/crunch/lib/python3.10/site-packages/click/core.py”, line 1269, in invoke  
return ctx.invoke(self.callback, \*\*ctx.params)  
File “/home/user/crunch/lib/python3.10/site-packages/click/core.py”, line 824, in invoke  
return callback(\*args, \*\*kwargs)  
File “/home/user/crunch/lib/python3.10/site-packages/crunch/cli.py”, line 343, in setup\_notebook  
command.download(force=True)  
File “/home/user/crunch/lib/python3.10/site-packages/crunch/command/download.py”, line 93, in download  
) = \_get\_data\_urls(  
File “/home/user/crunch/lib/python3.10/site-packages/crunch/command/download.py”, line 23, in \_get\_data\_urls  
column\_names = data\_release.column\_names  
File “/home/user/crunch/lib/python3.10/site-packages/crunch/api/domain/data\_release.py”, line 198, in column\_names  
return ColumnNames.from\_dict(self.\_attrs[“columnNames”])  
KeyError: ‘columnNames’

What could be the issue here and how do I resolve this?

---

<div class="post-metadata">

**Author:** ![enzo](https://forum.crunchdao.com/user_avatar/forum.crunchdao.com/enzo/32/15_2.png) [@enzo](https://forum.crunchdao.com/u/enzo)\
**Post date:** [March 14, 2026, 9:14am UTC](https://forum.crunchdao.com/t/unable-to-run-crunch-test-locally/1122/2 "2026-03-14T09:14:39Z")

</div>

Hi Abhishek,

You always need to upgrade the CLI first.

```bash
pip install crunch-cli --upgrade

```

And don’t forgot to restart your kernel afterwards!

---

<div class="post-metadata">

**Author:** ![profitable-abhishek](https://forum.crunchdao.com/user_avatar/forum.crunchdao.com/profitable-abhishek/32/888_2.png) [@profitable-abhishek](https://forum.crunchdao.com/u/profitable-abhishek)\
**Post date:** [March 14, 2026, 10:38am UTC](https://forum.crunchdao.com/t/unable-to-run-crunch-test-locally/1122/3 "2026-03-14T10:38:08Z")

</div>

> [@enzo](#):
>
> `pip install crunch-cli --upgrade`

Thank you! I did this and the initial error is gone. However, a new error has popped up:

* * *

MultipleLibraryAliasCandidateException Traceback (most recent call last)  
Cell In[16], line 1  
----\> 1 crunch\_tools.test()

File ~/crunch/lib/python3.10/site-packages/crunch/inline.py:126, in \_Inline.test(self, force\_first\_train, train\_frequency, raise\_abort, round\_number, no\_determinism\_check)  
123 competition = self.\_competition  
125 try:  
 → 126 library.scan(  
127 module=self.user\_module,  
128 logger=self.logger,  
129 )  
130 self.logger.warning(‘’)  
132 return tester.run(  
133 self.user\_module,  
134 self.\_runner\_module,  
(…)  
142 no\_determinism\_check,  
143 )

File ~/crunch/lib/python3.10/site-packages/crunch/library.py:175, in scan(module, requirements\_file, requirements\_r\_file, logger)  
170 if module is not None:  
171 packages = extract\_from\_notebook\_modules(  
172 module=module,  
173 )  
 → 175 forbidden = find\_forbidden(  
176 packages=packages,  
177 is\_alias=True,  
178 )  
180 \_log\_forbidden(  
181 forbidden=forbidden,  
182 logger=logger,  
183 is\_alias=True,  
184 )  
186 else:

File ~/crunch/lib/python3.10/site-packages/crunch/library.py:96, in find\_forbidden(packages, is\_alias, whitelist)  
93 if not isinstance(whitelist, CachedWhitelist):  
94 whitelist = CachedWhitelist(whitelist)  
—\> 96 return {  
97 language: \_find\_forbidden(  
98 language=language,  
99 packages=names\_or\_aliases,  
100 is\_alias=is\_alias,  
101 whitelist=whitelist,  
102 )  
103 for language, names\_or\_aliases in packages.items()  
104 }

File ~/crunch/lib/python3.10/site-packages/crunch/library.py:97, in (.0)  
93 if not isinstance(whitelist, CachedWhitelist):  
94 whitelist = CachedWhitelist(whitelist)  
96 return {  
—\> 97 language: \_find\_forbidden(  
98 language=language,  
99 packages=names\_or\_aliases,  
100 is\_alias=is\_alias,  
101 whitelist=whitelist,  
102 )  
103 for language, names\_or\_aliases in packages.items()  
104 }

File ~/crunch/lib/python3.10/site-packages/crunch/library.py:118, in \_find\_forbidden(language, packages, is\_alias, whitelist)  
116 for package in packages:  
117 if is\_alias:  
 → 118 library = whitelist.find\_library(  
119 language=language,  
120 alias=package,  
121 )  
122 else:  
123 library = whitelist.find\_library(  
124 language=language,  
125 name=package,  
126 )

File ~/crunch/lib/python3.10/site-packages/crunch\_convert/requirements\_txt/\_whitelist.py:109, in CachedWhitelist.find\_library(self, language, name, alias)  
106 if cached is not None:  
107 return cached  
 → 109 library = self.\_delegate.find\_library(  
110 language=language,  
111 alias=alias,  
112 )  
114 else:  
115 raise UnsupportedOperation(“find\_library() must be called with either ‘name’ or ‘alias’.”) # pragma: no cover

File ~/crunch/lib/python3.10/site-packages/crunch\_convert/requirements\_txt/\_whitelist.py:186, in CrunchHubWhitelist.find\_library(self, language, name, alias)  
183 library = None  
185 if len(alias\_conflicting\_names) \> 1:  
 → 186 raise MultipleLibraryAliasCandidateException(  
187 alias=cast(str, alias),  
188 names=alias\_conflicting\_names,  
189 )  
191 return library

MultipleLibraryAliasCandidateException: multiple library match the alias

How do we resolve this issue?

---

<div class="post-metadata">

**Author:** ![enzo](https://forum.crunchdao.com/user_avatar/forum.crunchdao.com/enzo/32/15_2.png) [@enzo](https://forum.crunchdao.com/u/enzo)\
**Post date:** [March 14, 2026, 2:52pm UTC](https://forum.crunchdao.com/t/unable-to-run-crunch-test-locally/1122/4 "2026-03-14T14:52:00Z")

</div>

Apologies for the delayed answer.

You tried to import `huggingface_hub` right?

There was a duplicate entry on our end, I just removed it.

I will improve the tester to not fails on this and preventing any progress…

---

<div class="post-metadata">

**Author:** ![profitable-abhishek](https://forum.crunchdao.com/user_avatar/forum.crunchdao.com/profitable-abhishek/32/888_2.png) [@profitable-abhishek](https://forum.crunchdao.com/u/profitable-abhishek)\
**Post date:** [March 14, 2026, 3:59pm UTC](https://forum.crunchdao.com/t/unable-to-run-crunch-test-locally/1122/5 "2026-03-14T15:59:53Z")

</div>

Thank you for your reply

---

<div class="post-metadata">

**Author:** ![enzo](https://forum.crunchdao.com/user_avatar/forum.crunchdao.com/enzo/32/15_2.png) [@enzo](https://forum.crunchdao.com/u/enzo)\
**Post date:** [March 14, 2026, 4:21pm UTC](https://forum.crunchdao.com/t/unable-to-run-crunch-test-locally/1122/6 "2026-03-14T16:21:29Z")

</div>

I just updated the `crunch-cli` so it will not happen anymore in the future.
