-vvv option).I just installed poetry from the get-poetry script and try to make it work. I'm using python3.7 . When I tried to add a package, I got this:
Command ['/home/seb/.cache/pypoetry/virtualenvs/poetry-demo-_YOEyiNj-py3.7/bin/python', '-m', 'pip', 'install', '--no-deps', '-U', 'markupsafe==1.1.1'] errored with the following output:
/home/seb/.cache/pypoetry/virtualenvs/poetry-demo-_YOEyiNj-py3.7/bin/python: No module named pip
Please revert and apt install python3-pip first.
or recreate your virtualenv, just experienced this issue days ago, hope this help
Deleting virtualenv for recreate helped me
Hi, I'm still running in this issue after venv reconfiguration and reinstallation of pip3 on debian machine.
Python version: 3.7
Poetry: 0.12.17
Hi, having this exact problem with poetry when I try to use python 3.8 instead of python 3.6.9 (the default in Ubuntu).
May it be related to ensurepip being disabled for Debian and Ubuntu systems?
Most helpful comment
Deleting virtualenv for recreate helped me