Build Error for HF Space

Hey everyone,
I’m getting a Build error Build failed with exit code: 1 with my HF Space at Utkarsh736/Bearify

Error code:

--> ERROR: process "/bin/sh -c pip install --no-cache-dir -r /tmp/requirements.txt" did not complete successfully: exit code: 1

The space was working fine earlier but then I updated the repo (initialized git-lfs tracking for some image files)
After that, I’m having this Build Error, although I didn’t change the app.py file which is still the demo app function.

How may I resolve this error?

The above issue was due to the installment of pywin32, which was resolved by updating the requirements.txt file like this :

pywin32==<version>; platform_system=="Windows"

refer: Solution

Although, I’m still having another Build Error for which I’ll make a new post unless it’s related to the above issue.

(Adding to the reply, since I don’t see a way to edit)

The other error was due to the installment of pywinpty and was resolved similarly.

pywinpty==<version>; platform_system=="Windows"

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.