microsoft / Codex-CLI

CLI tool that uses Codex to turn natural language commands into their Bash/ZShell/PowerShell equivalents
MIT License
1.99k stars 182 forks source link

No openaiapirc file being created with bash_setup.sh #132

Closed Jordan-Bowman-Davis closed 1 year ago

Jordan-Bowman-Davis commented 1 year ago

Hello,

I am trying to install this on a bash terminal on mac using the following fork to run with gpt-3.5-turbo: https://github.com/Lukas-LLS/Codex-CLI

The setup script does not seem to be creating the openaiapirc file in /src, leading to the following error. No errors are thrown on setup. Has anyone else experienced this? Thank you!


Open a new Bash terminal, type '#' followed by
your natural language command and hit Ctrl + G!
***********************************************
(base) ~/Documents/Code Projects/CodexCli/scripts> # what's my ip?
wc: /Users/jordanbowman-davis/Documents/Code: open: No such file or directory
wc: Projects/CodexCli/src/openaiapirc: open: No such file or directory
Codex CLI configuration is missing, try reinstalling```
Lukas-LLS commented 1 year ago

This problem most likely appears because there is a space in the name of your Code Projects folder, the path handling of the setup script most probably breaks because of that.