cant use opencv-python?
See original GitHub issuegives error in console, stating cant get pure python wheel:
Uncaught (in promise) PythonError: Traceback (most recent call last):
File “/lib/python3.10/asyncio/futures.py”, line 201, in result
raise self._exception
File “/lib/python3.10/asyncio/tasks.py”, line 234, in __step
result = coro.throw(exc)
File “/lib/python3.10/site-packages/micropip/_micropip.py”, line 183, in install
transaction = await self.gather_requirements(requirements, ctx, keep_going)
File “/lib/python3.10/site-packages/micropip/_micropip.py”, line 173, in gather_requirements
await gather(*requirement_promises)
File “/lib/python3.10/asyncio/futures.py”, line 284, in await
yield self # This tells Task to wait for completion.
File “/lib/python3.10/asyncio/tasks.py”, line 304, in __wakeup
future.result()
File “/lib/python3.10/asyncio/futures.py”, line 201, in result
raise self._exception
File “/lib/python3.10/asyncio/tasks.py”, line 232, in __step
result = coro.send(None)
File “/lib/python3.10/site-packages/micropip/_micropip.py”, line 286, in add_requirement
raise ValueError(
ValueError: Couldn’t find a pure Python 3 wheel for ‘opencv-python’. You can use micropip.install(..., keep_going=True)
to get a list of all packages with missing wheels.
Issue Analytics
- State:
- Created a year ago
- Comments:6 (3 by maintainers)
Top GitHub Comments
It will be supported as soon as the next Pyodide version is released (and pyscript updates to using it) see https://github.com/pyodide/pyodide/discussions/2424 for more details.
@MeloHenrique I think in this case you’ll want to change the version of Pyodide that PyScript is using, right? This might help: https://github.com/pyscript/pyscript/pull/328 I don’t think we’ll default the Pyodide version to be the most recent release. I think we’ll keep having the stable one as default.