# How to use Python3.7 in Spaces

**URL:** <https://discuss.huggingface.co/t/how-to-use-python3-7-in-spaces/14539>\
**Category:** Spaces\
**Created:** [February 9, 2022, 6:45am UTC](https://discuss.huggingface.co/t/how-to-use-python3-7-in-spaces/14539 "2022-02-09T06:45:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![razent](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/razent/32/3975_2.png) [@razent](https://discuss.huggingface.co/u/razent)\
**Post date:** [February 9, 2022, 6:45am UTC](https://discuss.huggingface.co/t/how-to-use-python3-7-in-spaces/14539/1 "2022-02-09T06:45:10Z")

</div>

Hi all,

Is there any way to use python3.7 or downgrade from 3.8 to 3.7 in spaces?

---

<div class="post-metadata">

**Author:** ![osanseviero](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/osanseviero/32/38738_2.png) [@osanseviero](https://discuss.huggingface.co/u/osanseviero)\
**Post date:** [February 9, 2022, 4:06pm UTC](https://discuss.huggingface.co/t/how-to-use-python3-7-in-spaces/14539/2 "2022-02-09T16:06:10Z")

</div>

I don’t think this is supported at the moment cc @julien-c @cbensimon

---

<div class="post-metadata">

**Author:** ![osanseviero](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/osanseviero/32/38738_2.png) [@osanseviero](https://discuss.huggingface.co/u/osanseviero)\
**Post date:** [February 21, 2022, 5:59pm UTC](https://discuss.huggingface.co/t/how-to-use-python3-7-in-spaces/14539/3 "2022-02-21T17:59:02Z")

</div>

This is now possible with setting a `python_version` in the `README.md` file [huggingface\_hub/spaces.md at main · huggingface/huggingface\_hub · GitHub](https://github.com/huggingface/huggingface_hub/blob/main/docs/hub/spaces.md#reference)
