# Receiving this error even with a new space

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Freceiving-this-error-even-with-a-new-space%2F43285%3E%5C
**Category:** Spaces\
**Created:** [June 14, 2023, 10:27pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Freceiving-this-error-even-with-a-new-space%2F43285 "2023-06-14T22:27:09Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![diogovelho](https://avatars.discourse-cdn.com/v4/letter/d/96bed5/32.png) [@diogovelho](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fdiogovelho)%5C
**Post date:** [June 14, 2023, 10:27pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Freceiving-this-error-even-with-a-new-space%2F43285%2F1 "2023-06-14T22:27:10Z")

</div>

Hi, I’ve created a space today and everything was working fine. Suddenly i’ve started to receive this error on all spaces i create:  
===== Build Queued at 2023-06-14 22:21:57 / Commit SHA: 7d6f0c5 =====

→ FROM [Docker](http://docker.io/library/python:3.10@sha256:77ea8e7d321d84b1ac73c657e67fe895fe61099faa6a53bcd21f5cb32d59c2b0)  
DONE 5.7s

DONE 5.8s

→ RUN sed -i 's [http://deb.debian.org](http://deb.debian.org) …  
(had to remove due to only 2 links allowed)

‘/security/d’ /etc/apt/sources.list && apt-get update && apt-get install -y git git-lfs ffmpeg libsm6 libxext6 cmake libgl1-mesa-glx && rm -rf /var/lib/apt/lists/\* && git lfs install  
sed: can’t read /etc/apt/sources.list: No such file or directory

---

<div class="post-metadata">

**Author:** ![diogovelho](https://avatars.discourse-cdn.com/v4/letter/d/96bed5/32.png) [@diogovelho](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fdiogovelho)%5C
**Post date:** [June 14, 2023, 11:18pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Freceiving-this-error-even-with-a-new-space%2F43285%2F2 "2023-06-14T23:18:41Z")

</div>

example:

> **[Testing - a Hugging Face Space by MinderaLabs](https://huggingface.co/spaces/MinderaLabs/testing)**
>
> Discover amazing ML apps made by the community

---

<div class="post-metadata">

**Author:** ![jduckles](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/jduckles/32/16854_2.png) [@jduckles](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fjduckles)%5C
**Post date:** [June 14, 2023, 11:46pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Freceiving-this-error-even-with-a-new-space%2F43285%2F3 "2023-06-14T23:46:35Z")

</div>

I am encountering exactly the same problem. Seems to be the underlying gradio containers.

---

<div class="post-metadata">

**Author:** ![radames](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/radames/32/28246_2.png) [@radames](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fradames)%5C
**Post date:** [June 14, 2023, 11:52pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Freceiving-this-error-even-with-a-new-space%2F43285%2F4 "2023-06-14T23:52:53Z")

</div>

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.

> **[MinderaLabs/testing · change python version](https://huggingface.co/spaces/MinderaLabs/testing/discussions/1)**
>
> We’re on a journey to advance and democratize artificial intelligence through open source and open science.

---

<div class="post-metadata">

**Author:** ![diogovelho](https://avatars.discourse-cdn.com/v4/letter/d/96bed5/32.png) [@diogovelho](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fdiogovelho)%5C
**Post date:** [June 15, 2023, 12:50am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Freceiving-this-error-even-with-a-new-space%2F43285%2F5 "2023-06-15T00:50:38Z")

</div>

Thanks a lot. It solved it but missing python 3.10. Hope. it can be fixed soon

---

<div class="post-metadata">

**Author:** ![omarih](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/omarih/32/16856_2.png) [@omarih](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fomarih)%5C
**Post date:** [June 15, 2023, 2:45am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Freceiving-this-error-even-with-a-new-space%2F43285%2F6 "2023-06-15T02:45:02Z")

</div>

thank you.

---

<div class="post-metadata">

**Author:** ![AItool](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/aitool/32/56038_2.png) [@AItool](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FAItool)%5C
**Post date:** [June 15, 2023, 3:51am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Freceiving-this-error-even-with-a-new-space%2F43285%2F7 "2023-06-15T03:51:22Z")

</div>

I have changed the README.md but the problem is still there for me.  
Any ideas? Thank you.  
…  
colorFrom: pink colorTo: purple

python\_version: 3.9.13

---

<div class="post-metadata">

**Author:** ![radames](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/radames/32/28246_2.png) [@radames](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fradames)%5C
**Post date:** [June 15, 2023, 2:13pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Freceiving-this-error-even-with-a-new-space%2F43285%2F8 "2023-06-15T14:13:26Z")

</div>

the underlying issue should be fixed now, thus you can get back to Python 3.10. thanks for your patience

---

<div class="post-metadata">

**Author:** ![mrprycep069](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/mrprycep069/32/16870_2.png) [@mrprycep069](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fmrprycep069)%5C
**Post date:** [June 15, 2023, 1:58pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Freceiving-this-error-even-with-a-new-space%2F43285%2F9 "2023-06-15T13:58:54Z")

</div>

Hi, community

how can I fix this error code on my Space Repo - sed: can’t read /etc/apt/sources.list: No such file or directory

snapshot Below

Thanks

 ![huggedface](https://us1.discourse-cdn.com/hellohellohello/original/3X/d/0/d0cf94e7ff610a7e7088af7b46fabe018062fee8.png)

---

<div class="post-metadata">

**Author:** ![radames](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/radames/32/28246_2.png) [@radames](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fradames)%5C
**Post date:** [June 15, 2023, 2:15pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Freceiving-this-error-even-with-a-new-space%2F43285%2F10 "2023-06-15T14:15:17Z")

</div>

hi @mrprycep069 can you please try factory reboot? this issue should be fixed now

---

<div class="post-metadata">

**Author:** ![mrprycep069](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/mrprycep069/32/16870_2.png) [@mrprycep069](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fmrprycep069)%5C
**Post date:** [June 15, 2023, 2:27pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Freceiving-this-error-even-with-a-new-space%2F43285%2F11 "2023-06-15T14:27:40Z")

</div>

@radames Thank you its worked

---

<div class="post-metadata">

**Author:** ![emma532](https://avatars.discourse-cdn.com/v4/letter/e/a88e4f/32.png) [@emma532](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Femma532)%5C
**Post date:** [June 20, 2023, 7:32am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Freceiving-this-error-even-with-a-new-space%2F43285%2F12 "2023-06-20T07:32:52Z")

</div>

Hey I am having the same issue… I will switch to phyton. thankyou.

---

<div class="post-metadata">

**Author:** ![bhnvgoyal](https://avatars.discourse-cdn.com/v4/letter/b/90ced4/32.png) [@bhnvgoyal](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fbhnvgoyal)%5C
**Post date:** [June 20, 2023, 8:08am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Freceiving-this-error-even-with-a-new-space%2F43285%2F13 "2023-06-20T08:08:08Z")

</div>

I am facing the same issue in building a space

 ![image](https://us1.discourse-cdn.com/hellohellohello/original/3X/3/5/35a42ce16f5abbb884e4090e0170be1d1eee61d8.jpeg)

---

<div class="post-metadata">

**Author:** ![maxjvd](https://avatars.discourse-cdn.com/v4/letter/m/82dd89/32.png) [@maxjvd](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fmaxjvd)%5C
**Post date:** [June 20, 2023, 8:24am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Freceiving-this-error-even-with-a-new-space%2F43285%2F14 "2023-06-20T08:24:17Z")

</div>

I have the same issue as @bhnvgoyal, changing the Python version to 3.9 in Readme.md and factory rebooting does not seem to work

---

<div class="post-metadata">

**Author:** ![anon22701748](https://avatars.discourse-cdn.com/v4/letter/a/7bcc69/32.png) [@anon22701748](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fanon22701748)%5C
**Post date:** [June 20, 2023, 8:26am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Freceiving-this-error-even-with-a-new-space%2F43285%2F15 "2023-06-20T08:26:16Z")

</div>

Seems wide-spread…

> [@Build error without log](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fbuild-error-without-log%2F43884)%3A
>
> I get a build error when trying to build an app that used to work fine yesterday. (Just checked, seems to be an issue for all my Spaces). [afbeelding] There are no logs and I cannot recall having cloned this repo. Changed my python version in readme.md already to 3.9, did not seem to work (saw this as a solution in another thread). Any ideas whether this is an issue on the server side? Thanks

> [@Build error: Error while cloning Space repository](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fbuild-error-error-while-cloning-space-repository%2F43889)%3A
>
> #Beginners My Gradio app won’t run. I already changed the Python version to 3.9.13 Build error Error while cloning Space repository Build logs: ===== Build Queued at 2023-06-20 07:44:45 / Commit SHA: 459d2a6 =====

> [@Build error without log](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fbuild-error-without-log%2F43884)%3A
>
> I get a build error when trying to build an app that used to work fine yesterday. (Just checked, seems to be an issue for all my Spaces). [afbeelding] There are no logs and I cannot recall having cloned this repo. Changed my python version in readme.md already to 3.9, did not seem to work (saw this as a solution in another thread). Any ideas whether this is an issue on the server side? Thanks

---

<div class="post-metadata">

**Author:** ![bhnvgoyal](https://avatars.discourse-cdn.com/v4/letter/b/90ced4/32.png) [@bhnvgoyal](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fbhnvgoyal)%5C
**Post date:** [June 20, 2023, 9:06am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Freceiving-this-error-even-with-a-new-space%2F43285%2F16 "2023-06-20T09:06:39Z")

</div>

Now I’m getting the python build error -

 ![image](https://us1.discourse-cdn.com/hellohellohello/original/3X/e/6/e69e4bd039602aa076a444b59a5cc3c10d5039f2.png)

---

<div class="post-metadata">

**Author:** ![CK42](https://avatars.discourse-cdn.com/v4/letter/c/b3f665/32.png) [@CK42](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FCK42)%5C
**Post date:** [July 21, 2023, 9:20pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Freceiving-this-error-even-with-a-new-space%2F43285%2F17 "2023-07-21T21:20:20Z")

</div>

I had a similar problem on one of my Spaces and reverting back to python 3.9.13 fro 3.10 still corrected the issue (the issue occurred on 7/7/2023).

---

<div class="post-metadata">

**Author:** ![bm55](https://avatars.discourse-cdn.com/v4/letter/b/49beb7/32.png) [@bm55](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fbm55)%5C
**Post date:** [July 17, 2024, 5:43pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Freceiving-this-error-even-with-a-new-space%2F43285%2F18 "2024-07-17T17:43:41Z")

</div>

Im having this issue with a new space:

ERROR: Ignored the following versions that require a different python version: 0.52.0 Requires-Python \>=3.6,\<3.9; 0.52.0rc3 Requires-Python \>=3.6,\<3.9  
ERROR: Could not find a version that satisfies the requirement PySimpleGUI==4.60.5 (from versions: 5.0.0, 5.0.2, 5.0.3, 5.0.4, 5.0.5, 5.0.6)  
ERROR: No matching distribution found for PySimpleGUI==4.60.5

[notice] A new release of pip available: 22.3.1 → 24.1.2  
[notice] To update, run: pip install --upgrade pip

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

---

<div class="post-metadata">

**Author:** ![Spela40](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/spela40/32/36940_2.png) [@Spela40](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FSpela40)%5C
**Post date:** [December 4, 2024, 3:16pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Freceiving-this-error-even-with-a-new-space%2F43285%2F19 "2024-12-04T15:16:48Z")

</div>

yes, I confirm
