Build Error: No such file or directory: ''

Tried deploying a new space (link). Getting a FileNotFoundError for

  × python 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-kmt8ulnm/uvicorn_aa5a2ea15bd9448fad5c8bad63a1af3d/", line 41, in <module>
        File "/tmp/pip-install-kmt8ulnm/uvicorn_aa5a2ea15bd9448fad5c8bad63a1af3d/", line 23, in get_long_description
          return open('', 'r').read()
      FileNotFoundError: [Errno 2] No such file or directory: ''
      [end of output]

Please update the requirements.txt to use the latest Gradio version

gradio== 3.44.1

That worked, thank you!

1 Like

Doesn’t seem to work for me: KawaiiApp/anythingv3 at main

hi @KawaiiApp
It looks like a Gradio issue, please use the latest version gradio==3.44.3

Hi @radames! That didn’t seem to work. Anything else I could do? Thanks so much for the response. I appreciate

Check your readme file and make sure Gradio sdk version (if listed) is updated.