Okay. This looks good in 2024: https://pixi.sh I came to it after failing over and over with poetry. I thought I knew it. But I don’t for sure.
On MacOS I did the following to run the crew agent framework flawlessly using Pixi.sh
% brew install pixi
On Windows you install it this way.
Then, to try it out I did a:
% pixi init crewai
% cd crewai
% pixi add python
% pixi add --pypi crewai
% pixi add --pypi crewai-tools
I then added their hello_world.py example and they have a nice abstraction around how to make it into a task:
% pixi task add hello python hello_world.py
% pixi run hello
Or you can run the python file directly:
% pixi run python hello_world.py
It’s also possible to init pixi within an existing directory by just doing
% pixi init