tom-doerr / zsh_codex

This is a ZSH plugin that enables you to use OpenAI's Codex AI in the command line.
MIT License
1.42k stars 72 forks source link

Make it possible to use in mulitiple python environment #17

Closed Czaki closed 7 months ago

Czaki commented 2 years ago

Hi, I'm a python developer who work with multiple python environments (at least one per project). I did not want to install openai in each environment.

Maybe you could create python package in place of create_completion.py that could be installed with pipx?

tom-doerr commented 2 years ago

That's a really good idea

tom-doerr commented 2 years ago

However you would still need to install the shell files, so installation wouldn't be easier. How about I check if there is a python bin linked in /usr/bin/python and use that if it's available? That should solve your issue.

Rizhiy commented 8 months ago

A better approach is to allow user to set python executable)