# Python version control

**URL:** <https://forum.kavli.tudelft.nl/t/python-version-control/370>\
**Category:** Cluster\
**Created:** [7 July 2023 09:09 UTC](https://forum.kavli.tudelft.nl/t/python-version-control/370 "2023-07-07T09:09:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Luise](https://forum.kavli.tudelft.nl/letter_avatar_proxy/v4/letter/l/f1d935/32.png) [@Luise](https://forum.kavli.tudelft.nl/u/Luise)\
**Post date:** [7 July 2023 09:09 UTC](https://forum.kavli.tudelft.nl/t/python-version-control/370/1 "2023-07-07T09:09:53Z")

</div>

Hi 👋

in the [wiki](https://hpcwiki.tudelft.nl/index.php/Software_Environments#pip.2Fpip3) I read about the provided venv package control, however, is it also possible to use `pyenv` or some other tool **to specify local, project-specific python versions** (python 3.8 in my project’s case)? Thanks! 🙂

---

<div class="post-metadata">

**Author:** ![anton-akhmerov](https://forum.kavli.tudelft.nl/user_avatar/forum.kavli.tudelft.nl/anton-akhmerov/32/4_2.png) [@anton-akhmerov](https://forum.kavli.tudelft.nl/u/anton-akhmerov)\
**Post date:** [7 July 2023 09:56 UTC](https://forum.kavli.tudelft.nl/t/python-version-control/370/2 "2023-07-07T09:56:14Z")

</div>

Hi Luise, welcome!

Indeed, this should work. These days I would probably go with conda for environment management though. Also as a word of warning: python 3.8 has now reached its end-of-life. It is likely that if you use it or software packaged for it, you’ll encounter bugs or limitations that were fixed in follow-up versions.

Let me also know if you have more specific questions.

Cheers

---

<div class="post-metadata">

**Author:** ![Luise](https://forum.kavli.tudelft.nl/letter_avatar_proxy/v4/letter/l/f1d935/32.png) [@Luise](https://forum.kavli.tudelft.nl/u/Luise)\
**Post date:** [10 July 2023 07:50 UTC](https://forum.kavli.tudelft.nl/t/python-version-control/370/3 "2023-07-10T07:50:00Z")

</div>

Thank you for the quick response, Anton! I tried installing brew as a first step (pyenv/conda are not installed yet). Since I am not on the sudoers list, I was prompted the following – I am very sorry, if I violated any rules here 😰

 ![Screenshot 2023-07-10 at 09.44.12](https://forum.kavli.tudelft.nl/uploads/default/original/1X/72e935b01ae5c2dae14cc70b34af11cb49d6dea6.png)

---

<div class="post-metadata">

**Author:** ![anton-akhmerov](https://forum.kavli.tudelft.nl/user_avatar/forum.kavli.tudelft.nl/anton-akhmerov/32/4_2.png) [@anton-akhmerov](https://forum.kavli.tudelft.nl/u/anton-akhmerov)\
**Post date:** [10 July 2023 11:01 UTC](https://forum.kavli.tudelft.nl/t/python-version-control/370/4 "2023-07-10T11:01:42Z")

</div>

Hi Luise,

First of all, don’t worry about “this incident will be reported”: it’s a stern sounding message, which doesn’t actually mean anything, and it’s the default.

About what you’re trying to do:

- I think homebrew only works on OSX and not on Linux, so that won’t be an option.
- You indeed don’t have superuser permissions, and you won’t need them anyway.
- To install conda follow the instructions from [GitHub - conda-forge/miniforge: A conda-forge distribution.](https://github.com/conda-forge/miniforge#unix-like-platforms-mac-os--linux)

Cheers

---

<div class="post-metadata">

**Author:** ![Luise](https://forum.kavli.tudelft.nl/letter_avatar_proxy/v4/letter/l/f1d935/32.png) [@Luise](https://forum.kavli.tudelft.nl/u/Luise)\
**Post date:** [11 July 2023 20:48 UTC](https://forum.kavli.tudelft.nl/t/python-version-control/370/5 "2023-07-11T20:48:12Z")

</div>

Thank you so much @anton-akhmerov for your helpful comments 🙏 everything works now!
