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.
** Changed in: poetry (Ubuntu)
Status: New => Confirmed
** Tags added: packaging
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958227
Title:
Traceback when calling "poetry" command: ModuleNotFoundError: No
module named 'cachecontrol'
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/poetry/+bug/1958227/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs