Posts tagged python
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.
Fixing ❌ “Poetry configuration is invalid” Errors in pre-commit.ci GitHub Actions
- 11 July 2023
Last Sunday I decided to try and understand the Sphinx codebase better after playing around with Jupyter Book and experiencing issue#1414. After falling down the codebase review rabbit hole I felt like fixing the bug itself was worthwhile. Eventually, fixing the issue proved to be easier than understanding where and what to fix or how to get the GitHub actions maze of checks to properly pass.