Replies: 1 comment 2 replies
-
Did you try to uninstall and reinstall PDM and/or pyenv versions? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
After a lot of troubleshooting to properly work with PDM I thought I had a good workflow going. However recently (with no changes except an update to PDM itself) the entire package stopped working. How? Well I suspect it has to do with PyEnv. For context I am developing using WSL2 (Ubuntu on Windows) and it has served me well so far. As you know Ubuntu comes with a default Python of 3.8, however for development and production purposes I use 3.9.10 and 3.10.2, for which Pyenv seemed like a good solution.
So I initialized my projects with either version and that was that. Now however coming back, I can no longer seem to work with any of my former projects, even typing something as simple as
pdm info
brings the following message[InvalidPyVersion]: Invalid Python interpreter: /home/robmel/.pyenv/shims/python
I want to know if anyone else has faced this and how they've dealt with it, I don't want to report as a bug if there isn't one.
Beta Was this translation helpful? Give feedback.
All reactions