Can't use openai library in python

Demianeen
Demianeen
Community Member

I decided to try the one password sheel plugin on the newly installed opanai python lib. In CLI I can use openai without problems. But I can't use openai library in any python file. I get the following error:

ModuleNotFoundError: No module named 'openai'

When I try to uninstall it and reinstall it again, I see that there is no plugin named openai. But again, it works in CLI, so the problem in one password.

Every time I now try to install openai plugin, I get the following error:

ERROR: Failed building wheel for yarl
Failed to build aiohttp yarl
ERROR: Could not build wheels for aiohttp, yarl, which is required to install pyproject.toml-based projects
(when I tried to install openai plugin first time, I didn't see this errors)

And I can't even uninstall the shell plugin. There is no instruction on how to do this on one password page.

What to do?


1Password Version: latest
Extension Version: latest
OS Version: latest
Browser:_ Not Provided

This discussion has been closed.