Build Error: No such file or directory: 'README.md'

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

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