Posts tagged virtualenv
Fix runtimeerror: no .dist-info has pip in broken pipenv installs and virtualenv wheels
- 19 September 2023
As mentioned in β RuntimeError: no .dist-info at ... has pip for pipenv install managed via asdf-vm, 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.
β RuntimeError: no .dist-info at ... has pip for pipenv install managed via asdf-vm1
- 22 August 2023
βΉοΈ 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 Fix runtimeerror: no .dist-info has pip in broken pipenv installs and virtualenv wheels.
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-vm[1], 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.