Replies: 4 comments
-
Google for the error and find that the plugin needs to be installed separately as of Poetry 2.0 😉 BTW, I find the plugin docs quite misleading, the name of the plugin should be written as
This all should not be necessary when using the Docker image for ORT that we provide, see Line 177 in 44aabf8 If it was necessary, that would be a bug. However, it seems you're using ORT from its stand-alone binaries. |
Beta Was this translation helpful? Give feedback.
-
Hello, Thank you @sschuberth. pip install poetry-plugin-export python-inspector Besides, I believe that the ORT error message could be slight more user-friendly (hence we wouldn't have to dive in the documentation or search on the Internet):
|
Beta Was this translation helpful? Give feedback.
-
Actually, that message does not come from ORT, but from Poetry itself. So it's not really under our control. If you agree, I'd like to close this and probably move it to a discussion, as it's not really an issue in the sense of a bug or enhancement. |
Beta Was this translation helpful? Give feedback.
-
Yes, perfect. I thought is was possible to enrich the error message, but got it. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
(Disclaimer: I'm new to ORT so I hope my question is relevant)
Describe the bug
poetry
2.1.3 (installed usingpip install poetry
).ort
it says:And indeed
poetry export
does not exist, see this message). What should I do?To Reproduce
In my setup my source tree is in
~/git/fuzzy-set
which contains thepoetry.lock
andpyproject.toml
files.Steps to reproduce the behavior:
... and the error shows.
Expected behavior
I guess that ORT should cope with the various versions of
poetry
or at least guide the user to configure~/.ort/config.yml
if this can help.Console / log output
Environment
Output of the
ort requirements
command:I didn't configured
~/.ort/config.yml
:Beta Was this translation helpful? Give feedback.
All reactions