Space Build error

#2
by lewiskimaru - opened

Collecting uvicorn
Downloading uvicorn-0.2.1.tar.gz (10 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'error'
error: subprocess-exited-with-error

Ɨ python setup.py egg_info did not run successfully.
ā”‚ exit code: 1
ā•°ā”€> [8 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "/tmp/pip-install-48s8guv5/uvicorn_370ac23f621d4b3d902a0147ef3626ab/setup.py", line 41, in
long_description=get_long_description(),
File "/tmp/pip-install-48s8guv5/uvicorn_370ac23f621d4b3d902a0147ef3626ab/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]

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.

[notice] A new release of pip available: 22.3.1 -> 23.2.1
[notice] To update, run: python -m pip install --upgrade pip

--> ERROR: process "/bin/sh -c pip install --no-cache-dir \t${SDK}==${SDK_VERSION} \tspaces==${PYSPACES_VERSION}" did not complete successfully: exit code: 1

FathomNet org

Hi @lewiskimaru , thanks for bringing this to our attention. This seems to be a new issue with the version of gradio that Hugging Face uses by default (3.8), which causes an error in the dependency resolution process. For reference, this does not occur with the latest version of gradio (3.47.1). We will pin the SDK to the new version.

That worked for me, Thankyou

kbarnard changed discussion status to closed

Sign up or log in to comment