1

Unable to install openAI in Pyodide

I run the following but get the error: Couldn't find a pure Python 3 wheel for 'openai'

import micropip
await micropip.install('openai')
cadasa
  • 11
  • 2
  • 1
    Pyscript also uses pyodide and so some of the excellent documentation there helps you understand limitations in the current WASM offerings. See ['What packages can I use? Can I use anything from PyPI?' at the FAQ for pyscript](https://docs.pyscript.net/latest/reference/faq.html#what-packages-can-i-use-can-i-use-anything-from-pypi). Related to what is there [the pyodide documentation 'wasm-constraints.html' page](https://pyodide.org/en/stable/usage/wasm-constraints.html) covers removed and not working modules at the bottom at present. – Wayne Feb 02 '23 at 18:38
  • There is a work in progress issue on it in https://github.com/pyodide/pyodide/issues/3588 – rth Mar 27 '23 at 20:37

0 Answers0