Closed Sinjhin closed 2 months ago
This also produces the same error PYTHONPATH=/opt/homebrew/lib/python3.11/site-packages/agency_swarm py agency.py
I was able to get past this by using pip3
and python3
, however I did not have Python v2 installed, so this is odd to me. I am newer at Python, so this might be something simple I am missing. Leaving it open for now.
Resolving this. The issue was with me running terminal within VSCode and VSCode itself not using the right Python Interpreter. Hitting cmnd-shift-p
, typing in python: select interpreter
, then selecting the proper default one (see screenshot) fixed this. Not an issue with Agency Swarm. Just me not being familiar with Python envs yet.
Related to https://github.com/VRSEN/agency-swarm/issues/50
I ran through the genesis workflow with
agency-swarm genesis --openai_key <my_key>
successfully.I get the error:
I am using conda and made a new environment for this. It is activated. If I do a
pip list
I seeagency-swarm 0.1.6
If I try to do a
pip install --upgrade --force-reinstall agency_swarm
it still does not work.If I try to do
pip uninstall agency_swarm
andpip install agency-swarm
as per https://github.com/VRSEN/agency-swarm/issues/50 it does not work.If I clone the repo, cd to it, and do a
pip install -r requirements.txt
I get:Looking forward to getting this running and contributing. It seems pretty amazing.