ValueError: Couldn't find a pure Python 3 wheel for 'browser_cookie3'
See original GitHub issueI am trying to use browser_cookie3 with pyscript but looks like pyscript pip installer is unable to find a wheel file to download. Is there any workaround for issues similar to this one?
Here is the complete error message copied from console:
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 'browser_cookie3'. You can use `micropip.install(..., keep_going=True)` to get a list of all packages with missing wheels.
PythonError error_handling.gen.ts:309
new_error pyodide.asm.js:14
method_call_trampoline pyodide.asm.js:14
callPyObjectKwargs pyproxy.gen.ts:360
callPyObject pyproxy.gen.ts:384
wrapper pyodide.asm.js:14
setTimeout handler*hiwire_call_bound pyodide.asm.js:14
callPyObjectKwargs pyproxy.gen.ts:360
callPyObject pyproxy.gen.ts:384
wrapper pyodide.asm.js:14
setTimeout handler*hiwire_call_bound pyodide.asm.js:14
Issue Analytics
- State:
- Created a year ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Couldn't find a pure Python 3 wheel for 'tensorflow'. You can ...
PyScript can't run anything that has a C component to be compiled. That's why the error refers to a "pure Python" wheel.
Read more >PyScript: Can't find a pure Python 3 wheel for 'orm==0.2.0.dev1'
I have a bokeh app that I am trying to convert into a standalone webassembly app via: panel convert demo.py --to pyodide-worker which ......
Read more >PYTHON WHEEL PROBLEM · Discussion #2461 - GitHub
It is not possible to install non-pure Python wheel with micropip.install() . In your code, this line is causing the problem. await micropip.install("https:// ......
Read more >Issue with micropip installing packages - Starboard
install("seaborn") and I got the error ValueError: Couldn't find a pure Python 3 wheel for 'scipy>=1.0' . Any idea how to work around...
Read more >Technical Topics - Anaconda Community
File “/lib/python3.10/site-packages/micropip/_micropip.py”, line 286, ... ValueError: Couldn't find a pure Python 3 wheel for 'vtk>=9.1.0'.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Also see https://pyodide.org/en/latest/usage/faq.html#micropip-can-t-find-a-pure-python-wheel about what to do when a package cannot be installed with micropip which is currently used by pyscript to install packages.
The update on this is we’re currently not going to pursue the individual fix of all the packages that are currently failing… But the
requests
package is on our priority list. In the meanwhile you can have a look on this example: https://github.com/pyscript/pyscript/pull/151, that offers a work around for requests 😃 feel free to open a thread in https://discuss.python.org/ if any doubts come up!