# Huggingface spaces python 3.12 support

**URL:** <https://discuss.huggingface.co/t/huggingface-spaces-python-3-12-support/126853>\
**Category:** Spaces\
**Created:** [November 23, 2024, 1:06am UTC](https://discuss.huggingface.co/t/huggingface-spaces-python-3-12-support/126853 "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](https://discuss.huggingface.co/u/JackismyShephard)\
**Post date:** [November 23, 2024, 1:06am UTC](https://discuss.huggingface.co/t/huggingface-spaces-python-3-12-support/126853/1 "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
