Replies: 2 comments 5 replies
-
hey there, thank you for posting this I'm having this issue too with FoodVision Big and FoodVision Mini, see here: #664 Currently trying to figure it out, I'll post back here when I figure out what's going on! |
Beta Was this translation helpful? Give feedback.
4 replies
-
it's in the name. must be "requirements.txt" .....................the wrong was "requirements.text" |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to deploy the FoodVision Mini app to Hugging Face Spaces but I am encountering "Build Error" repeatedly. I removed share=True, I also used the same versions for torch, torchvision and gradio as in the video in the requirements.txt file.
This is the error message I am getting: I have also attached a screenshot of the error log.
`× 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-a6t9lqpp/uvicorn_7105b4d0ad5a4749adae006c4b6b5908/setup.py", line 41, in
long_description=get_long_description(),
File "/tmp/pip-install-a6t9lqpp/uvicorn_7105b4d0ad5a4749adae006c4b6b5908/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 -r requirements.txt" did not complete successfully: exit code: 1`
Appreciate any help or pointers on how to resolve this. Thanks a lot.

Beta Was this translation helpful? Give feedback.
All reactions