tom-doerr / zsh_codex

This is a ZSH plugin that enables you to use OpenAI's Codex AI in the command line.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make it possible to use in mulitiple python environment

Czaki opened this issue · 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?

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)