Error on HF spaces
Getting the error below on a space.My requirements file hasdeepsparse[haystack]sparseml[torch]farm-haystack[all]==1.4.0faiss-cpu==1.7.2× python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [8 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-install-611p9q2j/datasets_6c67b773cca8498f82acdb8f88688353/setup.py", line 10, in <module>
          with open(path.join(here, 'DESCRIPTION.rst'), encoding='utf-8') as f:
        File "/usr/local/lib/python3.8/codecs.py", line 905, in open
          file = builtins.open(filename, mode, buffering)
      FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-install-611p9q2j/datasets_6c67b773cca8498f82acdb8f88688353/DESCRIPTION.rst'
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
WARNING: You are using pip version 22.0.2; however, version 23.0 is available.
You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command.

--> ERROR: process "/bin/sh -c pip install --no-cache-dir -r requirements.txt" did not complete successfully: exit code: 1
2023-02-07T15:52:05Z
Hi@mwitiderrick!Does the issue persist if you do aFactory Reboot?
2023-02-07T17:09:12Z
Unfortunately, yes
2023-02-07T17:23:43Z
Can you link the space and share a bit more of the error log? I’m wondering which dependency it’s failing to install.
2023-02-07T17:37:15Z
huggingface.coNeuralmagic Haystack Information Retrieval - a Hugging Face Space by neuralmagicDiscover amazing ML apps made by the community
2023-02-07T19:27:53Z
hi@mwitiderrick, it looks like it’s due to our lockedpipversion22.0.2for our Spaces Gradio template.I open an internal issue to bump it. Meanwhile, you could use our Docker Spaces to build your Space, if you’re interested I can send you a PR?
2023-02-08T04:13:19Z
Send it over please
2023-02-08T07:02:28Z
send you aPRbut it turns out you can bypass the pip error following this recommendationGitHubGitHub - deepset-ai/haystack: Haystack is an open source NLP framework to...:mag: Haystack is an open source NLP framework to interact with your data using Transformer models and LLMs (GPT-3 and alike). Haystack offers production-ready tools to quickly build ChatGPT-like q...