Chainlit / chainlit

Build Conversational AI in minutes ⚡️
https://docs.chainlit.io
Apache License 2.0
6.76k stars 878 forks source link

not able to run chainlit hello in Visual Studio Code #305

Closed ianyian closed 1 year ago

ianyian commented 1 year ago

after run the command: pip install chainlit , when i try to test the command: chainlit hello but failed. error shown below, can any expert help me on this ? my enviroment: win11 pro IDE: visual studio code

chainlit : The term 'chainlit' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1

willydouhard commented 1 year ago

Check this discord post. It should resolve your issue.

ianyian commented 1 year ago

Hi @willydouhard it seen like discord link is broken, nothing inside the page, appreciate you could help to route to a correct link thanks.

willydouhard commented 1 year ago

Weird, it works for me, attaching a screenshot instead:

sometimes on windows the chainlit executable path is not registered automatically in the $PATH variable

Screenshot 2023-08-22 at 12 08 10
ianyian commented 1 year ago

thanks ! finally i managed to find the file ! thanks ! C:\Users\james\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\Scripts\chainlit.exe