# Build error: Build failed with exit code: 1

**URL:** <https://discuss.huggingface.co/t/build-error-build-failed-with-exit-code-1/43294>\
**Category:** Spaces\
**Created:** [June 15, 2023, 12:12am UTC](https://discuss.huggingface.co/t/build-error-build-failed-with-exit-code-1/43294 "2023-06-15T00:12:06Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![radames](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/radames/32/28246_2.png) [@radames](https://discuss.huggingface.co/u/radames)\
**Post date:** [June 15, 2023, 12:20am UTC](https://discuss.huggingface.co/t/build-error-build-failed-with-exit-code-1/43294/2 "2023-06-15T00:20:09Z")

</div>

Probably related to,

> [@Receiving this error even with a new space](https://discuss.huggingface.co/t/receiving-this-error-even-with-a-new-space/43285/4):
>
> hi currently there is an error using the default Python 3.10 container, please switch to Python 3.9.13. On the Space README.md you can change the Python version by adding this line python\_version: 3.9.13 @diogovelho here is my PR on your shared Space.

here’s a [PR](https://huggingface.co/spaces/sschet/MidikanGPT/discussions/1)

---

_[View the full topic](https://discuss.huggingface.co/t/build-error-build-failed-with-exit-code-1/43294)._
