zsh_codex icon indicating copy to clipboard operation
zsh_codex copied to clipboard

Make it possible to use in mulitiple python environment

Open Czaki opened this issue 3 years ago • 2 comments

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?

Czaki avatar May 18 '22 09:05 Czaki

That's a really good idea

tom-doerr avatar May 18 '22 23:05 tom-doerr

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.

tom-doerr avatar May 18 '22 23:05 tom-doerr

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

Rizhiy avatar Feb 07 '24 22:02 Rizhiy