pyodide-kernel icon indicating copy to clipboard operation
pyodide-kernel copied to clipboard

Can't find a pure Python 3 wheel for 'qiskit-terra==0.46.1'

Open galihlprakoso opened this issue 1 year ago • 1 comments

Description

I'm getting this error when installing qiskit module.

ValueError: Can't find a pure Python 3 wheel for 'qiskit-terra==0.46.1'.
See: https://pyodide.org/en/stable/usage/faq.html#why-can-t-micropip-find-a-pure-python-wheel-for-a-package
You can use `await micropip.install(..., keep_going=True)` to get a list of all packages with missing wheels.

What does it means? how do i fix it?

Reproduce

Install qiskit module.

Expected behavior

Should be able to install qiskit module.

Context

  • JupyterLite version: 0.3.0
  • Operating System and version: Mac OS Monterey v12.7
  • Browser and version:Chrome Version 125.0.6422.142
Browser Output
-

galihlprakoso avatar Jun 16 '24 16:06 galihlprakoso

There's the helpful link to:

https://pyodide.org/en/stable/usage/faq.html#why-can-t-micropip-find-a-pure-python-wheel-for-a-package

By inspection, that package has binary extensions, and has not been built for pyodide.

The options are to:

  • request it from pyodide (as described at that link)
  • package it yourself with pyodide-build

bollwyvl avatar Jun 16 '24 18:06 bollwyvl