<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Python on I am Lino</title><link>https://iamlino.net/en/tags/python/</link><description>Recent content in Python on I am Lino</description><generator>Hugo</generator><language>en</language><lastBuildDate>Tue, 19 May 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://iamlino.net/en/tags/python/index.xml" rel="self" type="application/rss+xml"/><item><title>uv without fear: designing your Python platform layer</title><link>https://iamlino.net/en/tutorials/uv-without-fear/</link><pubDate>Tue, 19 May 2026 00:00:00 +0000</pubDate><guid>https://iamlino.net/en/tutorials/uv-without-fear/</guid><description>&lt;p&gt;We&amp;rsquo;ve been arguing about the same things in Python for twenty years. Whether to use &lt;code&gt;virtualenv&lt;/code&gt; or &lt;code&gt;venv&lt;/code&gt;. Whether &lt;code&gt;pip&lt;/code&gt; or &lt;code&gt;pip-tools&lt;/code&gt; is the right call. Whether Poetry is deprecated or just in a bad mood. Whether pyenv is for serious engineers or just people with too much time on their hands.&lt;/p&gt;
&lt;p&gt;Open any repo from three projects ago and you&amp;rsquo;ll find a Frankenstein held together with duct tape: a &lt;code&gt;Makefile&lt;/code&gt; that activates a &lt;code&gt;venv&lt;/code&gt;, a hand-maintained &lt;code&gt;requirements.txt&lt;/code&gt;, a &lt;code&gt;requirements-dev.txt&lt;/code&gt; that nobody&amp;rsquo;s touched since 2022, and a &lt;code&gt;Dockerfile&lt;/code&gt; that does &lt;code&gt;pip install&lt;/code&gt; with versions eyeballed into place.&lt;/p&gt;</description></item><item><title>Installing Python "properly" with pyenv (and stop fighting with versions)</title><link>https://iamlino.net/en/tutorials/installing-python-properly-with-pyenv/</link><pubDate>Mon, 20 Apr 2026 00:00:00 +0000</pubDate><guid>https://iamlino.net/en/tutorials/installing-python-properly-with-pyenv/</guid><description>&lt;p&gt;If there&amp;rsquo;s one thing that unites the Python community above any PEP, it&amp;rsquo;s the shared pain of having &lt;strong&gt;multiple interpreter versions coexisting on the same machine&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;One day you install Python 3.8 &amp;ldquo;for a project,&amp;rdquo; the next month 3.11 because another project demands it, then some random installer sneaks Python 3.10 into your PATH without asking&amp;hellip; and you end up staring at the crime scene:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#282a36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;python --version &lt;span style="color:#6272a4"&gt;# 3.11.4&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;python --version &lt;span style="color:#6272a4"&gt;# 3.10.12&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;pip --version &lt;span style="color:#6272a4"&gt;# points to 3.8 somewhere on disk&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;You run a &lt;code&gt;pip install&lt;/code&gt; convinced it&amp;rsquo;s targeting your project, but it actually lands on the system Python; another project breaks, VS Code gets confused, so do you, and suddenly &amp;ldquo;I hate Python&amp;rdquo; when what you actually hate is &lt;strong&gt;the dumpster fire you&amp;rsquo;ve been stoking&lt;/strong&gt;.&lt;/p&gt;</description></item></channel></rss>