# Using Renku Cuda images with Python 3.11

**URL:** <https://renku.discourse.group/t/using-renku-cuda-images-with-python-3-11/1071>\
**Category:** General\
**Created:** [24 July 2024 12:32 UTC](https://renku.discourse.group/t/using-renku-cuda-images-with-python-3-11/1071 "2024-07-24T12:32:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![major.hph](https://avatars.discourse-cdn.com/v4/letter/m/6bbea6/32.png) [@major.hph](https://renku.discourse.group/u/major.hph)\
**Post date:** [24 July 2024 12:32 UTC](https://renku.discourse.group/t/using-renku-cuda-images-with-python-3-11/1071/1 "2024-07-24T12:32:04Z")

</div>

I am trying to install a conda environment in a docker image based on `renku/renkulab-cuda:12.2-4580ad7`. In my conda environment I am using python 3.11, but I see in the base image `PYTHON_VERSION=3.10` is set (as is for all cuda 12.2 renku images). Therefore, during building I get the error

```auto
#8 25.09 Pinned packages:
#8 25.09 
#8 25.09 - python 3.10.11
#8 25.09 
#8 25.09 
#8 25.09 Could not solve for environment specs
#8 25.09 The following package could not be installed
#8 25.09 └─ python 3.11** is requested and can be installed.

```

Trying to set `ARG PYTHON_VERSION=3.11` does not work. Can I somehow use a renku cuda image with python 3.11?

---

<div class="post-metadata">

**Author:** ![elisabetc](https://yyz2.discourse-cdn.com/free1/user_avatar/renku.discourse.group/elisabetc/32/811_2.png) [@elisabetc](https://renku.discourse.group/u/elisabetc)\
**Post date:** [22 August 2024 07:38 UTC](https://renku.discourse.group/t/using-renku-cuda-images-with-python-3-11/1071/2 "2024-08-22T07:38:15Z")

</div>

Hi @major.hph  
As of now, there is not any supported Renku image with Python 3.11. You can see the Renku project templates [in this repository](https://github.com/SwissDataScienceCenter/renku-project-template) and Renku docker images [here](https://github.com/SwissDataScienceCenter/renkulab-docker). Please, check [this recent thread](https://renku.discourse.group/t/use-customized-image-or-docker-file/1060) on the topic of having customised images.

---

<div class="post-metadata">

**Author:** ![rrrrrok](https://yyz2.discourse-cdn.com/free1/user_avatar/renku.discourse.group/rrrrrok/32/117_2.png) [@rrrrrok](https://renku.discourse.group/u/rrrrrok)\
**Post date:** [22 August 2024 16:32 UTC](https://renku.discourse.group/t/using-renku-cuda-images-with-python-3-11/1071/3 "2024-08-22T16:32:05Z")

</div>

Hi @major.hph thanks for bringing this up - indeed, the standard CUDA images we build are based on python 3.10, but this is now rather old and should be updated. I just built an image with Python 3.11 and CUDA 12.2 - could you please give it a go? The image is `renku/renkulab-cuda:python-3.11-12.2-11d93a4` and you need to use this in the two `FROM` lines in your `Dockerfile`. Let me know if you need help sorting it out!
