<?xml version='1.0' encoding='UTF-8'?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://jdsalaro.com</id>
  <title>Jayson Salazar Rodriguez | @jdsalaro | Blog - Posts tagged virtualenv</title>
  <updated>2025-12-26T16:36:53.793398+00:00</updated>
  <link href="https://jdsalaro.com"/>
  <link href="https://jdsalaro.com/blog/tag/virtualenv/atom.xml" rel="self"/>
  <generator uri="https://ablog.readthedocs.io/" version="0.11.4.post1">ABlog</generator>
  <subtitle>@jdsalaro</subtitle>
  <entry>
    <id>https://jdsalaro.com/howto/fix-pipenv-runtimeerror-no-dist-info-has-pip/</id>
    <title>Fix runtimeerror: no .dist-info has pip in broken pipenv installs and virtualenv wheels</title>
    <updated>2023-09-19T00:00:00+00:00</updated>
    <author>
      <name>Jayson Salazar Rodriguez</name>
    </author>
    <content type="html">&lt;p class="ablog-post-excerpt"&gt;&lt;p&gt;As mentioned in &lt;a class="reference internal" href="../../../howto/fix-pipenv-asdf-runtimeerror-no-dist-info-has-pip/"&gt;&lt;span class="doc"&gt;❌ RuntimeError: no .dist-info at ... has pip for pipenv install managed via asdf-vm&lt;/span&gt;&lt;/a&gt;, I was initially confronted with issue some weeks ago but could attribute and fix the problem to &lt;code class="docutils literal notranslate"&gt;&lt;span class="pre"&gt;asdf&lt;/span&gt;&lt;/code&gt; misbehaving. The issue, however, resurfaced and that was no longer the case. To my surprise, &lt;code class="docutils literal notranslate"&gt;&lt;span class="pre"&gt;asdf&lt;/span&gt;&lt;/code&gt; seemed to be behaving as expected and was therefore of no relevance to the problem I was observing:&lt;/p&gt;
&lt;p&gt;If you are experiencing this problem and do not use &lt;code class="docutils literal notranslate"&gt;&lt;span class="pre"&gt;asdf&lt;/span&gt;&lt;/code&gt;, this post might be of help as I managed to further narrow down its root cause.&lt;/p&gt;
&lt;/p&gt;

    &lt;script type="text/x-thebe-config"&gt;
    {
        requestKernel: true,
        binderOptions: {
            repo: "binder-examples/jupyter-stacks-datascience",
            ref: "master",
        },
        codeMirrorConfig: {
            theme: "abcdef",
            mode: "python"
        },
        kernelOptions: {
            name: "python3",
            path: "./blog/tag"
        },
        predefinedOutput: true
    }
    &lt;/script&gt;
    &lt;script&gt;kernelName = 'python3'&lt;/script&gt;</content>
    <link href="https://jdsalaro.com/howto/fix-pipenv-runtimeerror-no-dist-info-has-pip/" rel="alternate"/>
    <summary>As mentioned in /howto/fix-pipenv-asdf-runtimeerror-no-dist-info-has-pip, I was initially confronted with issue some weeks ago but could attribute and fix the problem to asdf misbehaving. The issue, however, resurfaced and that was no longer the case. To my surprise, asdf seemed to be behaving as expected and was therefore of no relevance to the problem I was observing:If you are experiencing this problem and do not use asdf, this post might be of help as I managed to further narrow down its root cause.</summary>
    <category term="pipenv" label="pipenv"/>
    <category term="python" label="python"/>
    <category term="troubleshooting" label="troubleshooting"/>
    <category term="virtualenv" label="virtualenv"/>
    <published>2023-09-19T00:00:00+00:00</published>
  </entry>
  <entry>
    <id>https://jdsalaro.com/howto/fix-pipenv-asdf-runtimeerror-no-dist-info-has-pip/</id>
    <title>❌ RuntimeError: no .dist-info at ... has pip for pipenv install managed via asdf-vm1</title>
    <updated>2023-08-22T00:00:00+00:00</updated>
    <author>
      <name>Jayson Salazar Rodriguez</name>
    </author>
    <content type="html">&lt;p class="ablog-post-excerpt"&gt;&lt;p&gt;&lt;span style="font-size: 1.5em;"&gt;ℹ️&lt;/span&gt; Several folks who are not using &lt;code class="docutils literal notranslate"&gt;&lt;span class="pre"&gt;asdf-vm&lt;/span&gt;&lt;/code&gt; but are facing similar issues have asked me for advice, I’ve detailed how you can troubleshoot and fix this issue on &lt;a class="reference internal" href="../../../howto/fix-pipenv-runtimeerror-no-dist-info-has-pip/"&gt;&lt;span class="doc"&gt;Fix runtimeerror: no .dist-info has pip in broken pipenv installs and virtualenv wheels&lt;/span&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Having said that, I’ve mentioned in several occasions that &lt;code class="docutils literal notranslate"&gt;&lt;span class="pre"&gt;pipenv&lt;/span&gt;&lt;/code&gt; is my virtual environment manager of choice in Python projects and that I use it in tandem with asdf-vm&lt;a class="footnote-reference brackets" href="#asdfvm" id="id2" role="doc-noteref"&gt;&lt;span class="fn-bracket"&gt;[&lt;/span&gt;1&lt;span class="fn-bracket"&gt;]&lt;/span&gt;&lt;/a&gt;, which allows me to seemlesly switch between Python versions depending on the project I’m working on. However, after updating one of my Ubuntu test systems (20.04.6 LTS) and installing a couple of Python versions via &lt;code class="docutils literal notranslate"&gt;&lt;span class="pre"&gt;asdf-vm&lt;/span&gt;&lt;/code&gt;, &lt;code class="docutils literal notranslate"&gt;&lt;span class="pre"&gt;pipenv&lt;/span&gt;&lt;/code&gt; suddenly stopped working. In this brief HOWTO I hope to provide a couple of hints as to how you may debug and ultimately fix a PipEnv installation which finds itself in a weird state.&lt;/p&gt;
&lt;/p&gt;

    &lt;script type="text/x-thebe-config"&gt;
    {
        requestKernel: true,
        binderOptions: {
            repo: "binder-examples/jupyter-stacks-datascience",
            ref: "master",
        },
        codeMirrorConfig: {
            theme: "abcdef",
            mode: "python"
        },
        kernelOptions: {
            name: "python3",
            path: "./blog/tag"
        },
        predefinedOutput: true
    }
    &lt;/script&gt;
    &lt;script&gt;kernelName = 'python3'&lt;/script&gt;</content>
    <link href="https://jdsalaro.com/howto/fix-pipenv-asdf-runtimeerror-no-dist-info-has-pip/" rel="alternate"/>
    <summary>&lt;span style="font-size: 1.5em;"&gt;ℹ️&lt;/span&gt; Several folks who are not using asdf-vm but are facing similar issues have asked me for advice, I’ve detailed how you can troubleshoot and fix this issue on /howto/fix-pipenv-runtimeerror-no-dist-info-has-pip.Having said that, I’ve mentioned in several occasions that pipenv is my virtual environment manager of choice in Python projects and that I use it in tandem with asdf-vm1, which allows me to seemlesly switch between Python versions depending on the project I’m working on. However, after updating one of my Ubuntu test systems (20.04.6 LTS) and installing a couple of Python versions via asdf-vm, pipenv suddenly stopped working. In this brief HOWTO I hope to provide a couple of hints as to how you may debug and ultimately fix a PipEnv installation which finds itself in a weird state.</summary>
    <category term="asdf-vm" label="asdf-vm"/>
    <category term="pipenv" label="pipenv"/>
    <category term="python" label="python"/>
    <category term="troubleshooting" label="troubleshooting"/>
    <category term="virtualenv" label="virtualenv"/>
    <published>2023-08-22T00:00:00+00:00</published>
  </entry>
</feed>
