VRSEN / agency-swarm

The only reliable agent framework built on top of the latest OpenAI Assistants API.
https://vrsen.github.io/agency-swarm/
MIT License
2.05k stars 537 forks source link

ModuleNotFoundError: No module named 'readline' #95

Closed MizpahMJP closed 3 months ago

MizpahMJP commented 3 months ago

image

getting error on running genesis command Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "C:\Users\HP\AppData\Local\Programs\Python\Python312\Scripts\agency-swarm.exe__main.py", line 4, in File "C:\Users\HP\AppData\Local\Programs\Python\Python312\Lib\site-packages\agency_swarm__init__.py", line 1, in from .agency import Agency File "C:\Users\HP\AppData\Local\Programs\Python\Python312\Lib\site-packages\agency_swarm\agency\init__.py", line 1, in from .agency import Agency File "C:\Users\HP\AppData\Local\Programs\Python\Python312\Lib\site-packages\agency_swarm\agency\agency.py", line 4, in import readline ModuleNotFoundError: No module named 'readline'

VRSEN commented 3 months ago

Seems like this module is not available on windows. Try pip install pyreadline. Let me know if this works, please.

MizpahMJP commented 3 months ago

This fixed it pip install pyreadline3