Comment 2 for bug 1958227

Revision history for this message
Hans Joachim Desserud (hjd) wrote :

Thanks for taking your time to report this issue and help making Ubuntu better.

I can confirm I get the same error message when attempting to run poetry on Ubuntu Jammy. After some digging I found a corresponding bug report in Debian (see the attached bug watch), which also explains the root cause. Poetry has an odd dependency on "python3-cachecontrol (>= 0.12.6) | python3 (>> 3.6)", and since python3 is already installed it skips the cachecontrol package. Based on the upstream report, they are looking into how to get the dependencies generated properly.

Until then, you can install "python3-cachecontrol" manually as a workaround. After doing that, poetry now lists information on usage and seems to be working as expected.