# Python \>= 3.10

**URL:** <https://swan-community.web.cern.ch/t/python-3-10/776>\
**Category:** Software\
**Created:** [May 31, 2024, 2:54pm UTC](https://swan-community.web.cern.ch/t/python-3-10/776 "2024-05-31T14:54:20Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![marianam](https://swan-community.web.cern.ch/letter_avatar_proxy/v4/letter/m/e9a140/32.png) [@marianam](https://swan-community.web.cern.ch/u/marianam)\
**Post date:** [May 31, 2024, 2:54pm UTC](https://swan-community.web.cern.ch/t/python-3-10/776/1 "2024-05-31T14:54:21Z")

</div>

Hello,

I would like to use a Python package I wrote on SWAN, but it requires Python \>= 3.10. Is there any configuration at the moment that would give me access to this version?

PS: I’ve tried to get a custom environment working and/or a custom ipykernel (as per [this post](https://swan-community.web.cern.ch/t/installing-custom-jupyter-kernels-at-swan-startup/297), for example), on both CentOS7 and AlmaLinux9, but I cannot get it to work for the life of me. It would be great if it was easier for users to manage virtual environments.

---

<div class="post-metadata">

**Author:** ![etejedor](https://swan-community.web.cern.ch/letter_avatar_proxy/v4/letter/e/e79b87/32.png) [@etejedor](https://swan-community.web.cern.ch/u/etejedor)\
**Post date:** [June 3, 2024, 7:32am UTC](https://swan-community.web.cern.ch/t/python-3-10/776/2 "2024-06-03T07:32:29Z")

</div>

Hello Mariana,

The librarians who maintain the LCG releases (software stacks in SWAN) are working to switch to Python 3.11 in the next LCG release (106), but this is not yet sure.

Regarding the custom software environments, its actually ongoing work. We should have a prototype during the second half of this year for Python venvs (which will have Python 3.11).

Cheers,  
Enric

---

<div class="post-metadata">

**Author:** ![etejedor](https://swan-community.web.cern.ch/letter_avatar_proxy/v4/letter/e/e79b87/32.png) [@etejedor](https://swan-community.web.cern.ch/u/etejedor)\
**Post date:** [June 3, 2024, 12:48pm UTC](https://swan-community.web.cern.ch/t/python-3-10/776/3 "2024-06-03T12:48:03Z")

</div>

I just learnt that 106 will indeed have Python 3.11, and it will be available in SWAN most probably before the end of the month.

---

<div class="post-metadata">

**Author:** ![marianam](https://swan-community.web.cern.ch/letter_avatar_proxy/v4/letter/m/e9a140/32.png) [@marianam](https://swan-community.web.cern.ch/u/marianam)\
**Post date:** [June 3, 2024, 3:08pm UTC](https://swan-community.web.cern.ch/t/python-3-10/776/4 "2024-06-03T15:08:56Z")

</div>

Oh, that’s great! Thank you.

---

<div class="post-metadata">

**Author:** ![ligerlac](https://swan-community.web.cern.ch/letter_avatar_proxy/v4/letter/l/85f322/32.png) [@ligerlac](https://swan-community.web.cern.ch/u/ligerlac)\
**Post date:** [July 2, 2024, 8:50am UTC](https://swan-community.web.cern.ch/t/python-3-10/776/5 "2024-07-02T08:50:53Z")

</div>

I am working on a project that requires Phython==3.10. It seems there are only lcg releases with 3.9 and 3.11. Are you planning to add 3.10 as well?

---

<div class="post-metadata">

**Author:** ![etejedor](https://swan-community.web.cern.ch/letter_avatar_proxy/v4/letter/e/e79b87/32.png) [@etejedor](https://swan-community.web.cern.ch/u/etejedor)\
**Post date:** [July 2, 2024, 9:10am UTC](https://swan-community.web.cern.ch/t/python-3-10/776/6 "2024-07-02T09:10:17Z")

</div>

Dear Lino,

Unfortunately not, we work with the LCG releases that a team of librarians at CERN provide. They decided to switch from 3.9 (LCG 105) to 3.11 (LCG 106), so we will take what they offer.

Moving forward, would it be possible to adapt your project to 3.11?

Best,  
Enric

---

<div class="post-metadata">

**Author:** ![ligerlac](https://swan-community.web.cern.ch/letter_avatar_proxy/v4/letter/l/85f322/32.png) [@ligerlac](https://swan-community.web.cern.ch/u/ligerlac)\
**Post date:** [July 3, 2024, 9:23am UTC](https://swan-community.web.cern.ch/t/python-3-10/776/7 "2024-07-03T09:23:17Z")

</div>

Dear Enric,

thanks for your quick reply. Updating my project to 3.11 is not feasible at this time. Are there any news on supporting conda environments?

Cheers  
Lino

---

<div class="post-metadata">

**Author:** ![etejedor](https://swan-community.web.cern.ch/letter_avatar_proxy/v4/letter/e/e79b87/32.png) [@etejedor](https://swan-community.web.cern.ch/u/etejedor)\
**Post date:** [July 3, 2024, 11:54am UTC](https://swan-community.web.cern.ch/t/python-3-10/776/8 "2024-07-03T11:54:13Z")

</div>

Dear Lino,

Conda environments are work in progress, we will set up a SWAN test instance with that functionality in the coming months. However, I do not expect anything in production this year on that regard.
