# Huggingface spaces python 3.12 support

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhuggingface-spaces-python-3-12-support%2F126853%3E%5C
**Category:** Spaces\
**Created:** [November 23, 2024, 1:06am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhuggingface-spaces-python-3-12-support%2F126853 "2024-11-23T01:06:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![JackismyShephard](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/jackismyshephard/32/36281_2.png) [@JackismyShephard](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FJackismyShephard)%5C
**Post date:** [November 23, 2024, 1:06am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhuggingface-spaces-python-3-12-support%2F126853%2F1 "2024-11-23T01:06:48Z")

</div>

Is python 3.12 really supported for spaces? I am getting

```auto
AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'?

--> ERROR: process "/bin/sh -c pip install --no-cache-dir pip==22.3.1 && \tpip install --no-cache-dir \tdatasets \t\"huggingface-hub>=0.19\" \"hf-transfer>=0.1.4\" \"protobuf<4\" \"click<8.1\" \"pydantic~=1.0\"" did not complete successfully: exit code: 1

```

upon setup. This is a well known issue when pip is not upgraded to the latest version that is compatible with python 3.12
