Resolving Python Version Conflict with Poetry: Downgrade from Python 3.11 to 3.10 Required for pyproject.toml Compatibility #8805
-
I got my client to git clone a repo and asked him to However, he had installed python 3.11 from python.org and the I had no issues downgrading from python 3.11 to 3.10 during my development. Why? Possible explanations:
I picked poetry because I thought it would be an effortless way for my client to set up his environment but have fallen at the first hurdle. What's the recommended way to deal with this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Poetry does not manage Python installations so if your project requires Python 3.10, Python 3.10 has to be available on the target system. If there are multiple Python versions, you can tell Poetry which version to use with the env use command. Alternatively, you can of course also allow Python 3.11 by editing your |
Beta Was this translation helpful? Give feedback.
There are no plans in the foreseeable future. There is already pyenv, which can be used together with Poetry.