Spaces:
Running
on
CPU Upgrade
Runtime error
I attempted to run the app.py, but encountered the following error:
```
ModuleNotFoundError Traceback (most recent call last)
Cell In[1], line 4
1 from functools import partial
2 import json
----> 4 from datasets import load_dataset
5 # import gradio as gr
6 from huggingface_hub import get_hf_file_metadata, HfApi, hf_hub_download, hf_hub_url
File ~/Documents/GitHub/LLM-Leaderboard-Integration/.venv/lib/python3.11/site-packages/datasets/init.py:22
1 # flake8: noqa
2 # Copyright 2020 The HuggingFace Datasets Authors and the TensorFlow Datasets Authors.
3 #
(...)
17 # pylint: enable=line-too-long
18 # pylint: disable=g-import-not-at-top,g-bad-import-order,wrong-import-position
20 version = "2.16.0"
---> 22 from .arrow_dataset import Dataset
23 from .arrow_reader import ReadInstruction
24 from .builder import ArrowBasedBuilder, BeamBasedBuilder, BuilderConfig, DatasetBuilder, GeneratorBasedBuilder
File ~/Documents/GitHub/LLM-Leaderboard-Integration/.venv/lib/python3.11/site-packages/datasets/arrow_dataset.py:66
63 from multiprocess import Pool
65 from . import config
---> 66 from .arrow_reader import ArrowReader
...
---> 27 from _lzma import *
28 from _lzma import _encode_filter_properties, _decode_filter_properties
29 import _compression
ModuleNotFoundError: No module named '_lzma'
I am using Python 3.11 under MacOS. I guarantee the requirements.txt is installed via pip.
Hello!
This seems like it could be unrelated to MTEB, but rather related to some installation issues. Perhaps e.g. https://stackoverflow.com/questions/59690698/modulenotfounderror-no-module-named-lzma-when-building-python-using-pyenv-on helps out?
- Tom Aarsen