tom-doerr/zsh_codex

Make it possible to use in mulitiple python environment

Czaki opened this issue · 3 comments

Czaki commented

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?

That's a really good idea

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.

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