<?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 Personal weblog</title>
    <link>https://carl.duevel.online/tags/pyenv/</link>
    <description>Recent content in Pyenv on Personal weblog</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Fri, 25 Jun 2021 22:22:59 +0200</lastBuildDate>
    <atom:link href="https://carl.duevel.online/tags/pyenv/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Missing system modules in Python</title>
      <link>https://carl.duevel.online/blog/python_missing_system_deps/</link>
      <pubDate>Fri, 25 Jun 2021 22:22:59 +0200</pubDate>
      <guid>https://carl.duevel.online/blog/python_missing_system_deps/</guid>
      <description>&lt;p&gt;I got to work on a Python code-base in the last days and have been struggling&#xA;to get to a stable development environment. I learned some lessons along the way.&#xA;Here is one of them, as it seems to be rather common and causes headaches&#xA;for many people (&lt;a href=&#34;https://www.google.com/search?q=ModuleNotFoundError%3A+No+module+named+&amp;#39;underscore&amp;#39;&#34;&gt;a simple search has a whopping half a million hits on Google&lt;/a&gt;).&lt;/p&gt;&#xA;&lt;div id=&#34;outline-container-headline-1&#34; class=&#34;outline-2&#34;&gt;&#xA;&lt;h2 id=&#34;headline-1&#34;&gt;&#xA;The error&#xA;&lt;/h2&gt;&#xA;&lt;div id=&#34;outline-text-headline-1&#34; class=&#34;outline-text-2&#34;&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;ModuleNotFoundError: No module named &amp;#39;_lzma&amp;#39;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;I found this error at the bottom of a very long stack trace after running a unit&#xA;test. That was suprising as the tests had worked fine before. I stashed all&#xA;current changes, but the error persisted. I recognized&#xA;&lt;a href=&#34;https://docs.python.org/3/library/lzma.html&#34;&gt;that the lzma module&lt;/a&gt; is part of the standard library. I could not find the&#xA;module &lt;em&gt;_lzma&lt;/em&gt; though. It turned out that the problem could be reproduced with a&#xA;simple import statement:&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
