Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chainlit not found #9

Open
goodmaney opened this issue Jul 22, 2024 · 2 comments
Open

chainlit not found #9

goodmaney opened this issue Jul 22, 2024 · 2 comments

Comments

@goodmaney
Copy link

goodmaney commented Jul 22, 2024

chainlit: command not found, after install requirements. I uninstall the chainlit and install the version 0.1.1, it's report graphrag 1.1.306 requires aiofiles<25.0.0,>=24.1.0, but you have aiofiles 23.2.1 which is incompatible. Then chainlit run appUI.py report error:from utils.chainlit_agents import ChainlitUserProxyAgent, ChainlitAssistantAgent ModuleNotFoundError: No module named 'utils'.

Then I install chainlit version 0.1.0. that report chainlit: command not found again

my python is 3.12.4

@karthik-codex
Copy link
Owner

please refer to this to fix the aiofile incompatibility. #2

Regarding no module found, make sure that the chainlit_agents.py is inside the utils folder

@punit461
Copy link

I think I was able to resolve this in my windows,

  1. I opened the terminal as administrator, then navigated to project location and then i executed this command
    pip install chainlit==1.1.306

which installed latest chainlit and then I was able to open a fresh terminal to access the chainlit which worked fine,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants