Error Creating New Poetry Environment
See original GitHub issue- I am on the latest Poetry version.
- I have searched the issues of this repo and believe that this is not a duplicate.
- If an exception occurs when executing a command, I executed it again in debug mode (
-vvvoption).
- OS version and name: <Ubuntu 22.04.1 LTS>
- Poetry version: <1.2.1>
- Link of a Gist with the contents of your pyproject.toml file: <!-- Gist Link Here –>
Issue
This is my first time using Poetry. When using PyCharm to configure a poetry interpreter, it says
Directory /home/arthur/.cache/pypoetry/virtualenvs/pyproject-bQEURbrH-py3.10/bin/python not found
When I try again to configure the interpreting using the environment that was created, it says Error Running Poetry. The command output is:
Recreating virtualenv pyproject-bQEURbrH-py3.10 in /home/arthur/.cache/pypoetry/virtualenvs/pyproject-bQEURbrH-py3.10
The virtual environment found in /home/arthur/.cache/pypoetry/virtualenvs/pyproject-bQEURbrH-py3.10 seems to be broken.
Invalid PEP 440 version: ‘1.1build1’
I’ve seen the same error from the PyCharm forums, and applied the fix
sudo apt install python3-pip pip3 install virtualenv
Which didn’t change anything. I’ve also tried installing python3-venv too.
Issue Analytics
- State:
- Created a year ago
- Reactions:2
- Comments:6 (2 by maintainers)

Top Related StackOverflow Question
I have neither of those things set. I’ll attempt to create a docker container that has this issue so you can see what goes wrong.
I see it is this https://github.com/python-poetry/poetry/issues/4597#issuecomment-1233290435 this issue. The workaround there works as well.