<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Pyenv on Georgios Arampatzis</title><link>https://arampatzis.github.io/en/tags/pyenv/</link><description>Recent content in Pyenv on Georgios Arampatzis</description><generator>Hugo</generator><language>en</language><managingEditor>georgios.arampatzis@uoc.gr (Georgios Arampatzis)</managingEditor><webMaster>georgios.arampatzis@uoc.gr (Georgios Arampatzis)</webMaster><lastBuildDate>Wed, 06 May 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://arampatzis.github.io/en/tags/pyenv/index.xml" rel="self" type="application/rss+xml"/><item><title>pyenv and Poetry: Setup Python environment without sudo</title><link>https://arampatzis.github.io/en/coding/pyenv-poetry/</link><pubDate>Wed, 06 May 2026 00:00:00 +0000</pubDate><author>georgios.arampatzis@uoc.gr (Georgios Arampatzis)</author><guid>https://arampatzis.github.io/en/coding/pyenv-poetry/</guid><description>pyenv and Poetry are two tools that allow you to manage your Python environment without sudo. pyenv allows you to install multiple Python versions and switch between them. Poetry allows you to manage your dependencies and create virtual environments.
Install pyenv Install pyenv via the official installer:
curl https://pyenv.run | bash Add the following lines to your ~/.bashrc (or ~/.zshrc if you use zsh):
export PYENV_ROOT=&amp;#34;$HOME/.pyenv&amp;#34; [[ -d $PYENV_ROOT/bin ]] &amp;amp;&amp;amp; export PATH=&amp;#34;$PYENV_ROOT/bin:$PATH&amp;#34; eval &amp;#34;$(pyenv init -)&amp;#34; Then reload your shell:</description></item></channel></rss>