-
|
Currently, when I install the Agenta package using The error message displayed is: Thanks for your help |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
The Agenta Python module requires Python 3.11 or newer. The error you're seeing ( To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
-
|
Hey @vjeantet, We have introduced a regression in v0.51.4 that makes the library incompatible with python < 3.10. We are working on a fix. In the mean time you can pin the agenta sdk to v0.51.3 and it should work fine |
Beta Was this translation helpful? Give feedback.
The Agenta Python module requires Python 3.11 or newer. The error you're seeing (
unsupported operand type(s) for |) happens because Agenta uses union types with the|operator, which is only supported in Python 3.10+—and the package specifically requires at least Python 3.11 as defined in its configuration files. To resolve this, upgrade your Python interpreter to 3.11 or later and reinstall the package. Other common prerequisites include Docker and git, but using the correct Python version is essential for the package to work properly.You can see the Python version requirement in the project's configuration: pyproject.toml.
To reply, just mention @dosu.
How did I do? Good | Irrelevant |