gorilla-llm / gorilla-cli

LLMs for your CLI
https://gorilla.cs.berkeley.edu/
Apache License 2.0
1.28k stars 75 forks source link

Problem with generating userid: [WinError 2] The system cannot find the file specified #26

Closed billa0 closed 1 year ago

billa0 commented 1 year ago

Unable to generate userid: [WinError 2] The system cannot find the file specified

ShishirPatil commented 1 year ago

Hey @billa0 ! Do you happen to have git installed and configured? If not, you can do so with the following commands:

sudo apt install git-all # https://git-scm.com/book/en/v2/Getting-Started-Installing-Git
git config --global user.email
rm ~/.gorilla-cli-* && pip uninstall gorilla-cli
pip install gorilla-cli
billa0 commented 1 year ago

Hey @billa0 ! Do you happen to have git installed and configured? If not, you can do so with the following commands:

sudo apt install git-all # https://git-scm.com/book/en/v2/Getting-Started-Installing-Git
git config --global user.email
rm ~/.gorilla-cli-* && pip uninstall gorilla-cli
pip install gorilla-cli

It's win 11 -

ShishirPatil commented 1 year ago

It's win 11 -

Oh are you trying to use it on Windows 11 through WSL (Windows Subsystem for Linux) or through Powershell? I think the above set of commands works for WSL. For Powershell you just need to activate a python3 environment, and just pip install gorilla-cli should work out of the box 🤞 Do you mind sharing an error trace?

21 is a good reference 👀

ShishirPatil commented 1 year ago

Closing this issue. Feel free to reopen it if you run into any other issues.