quarry icon indicating copy to clipboard operation
quarry copied to clipboard

Can this work with py-script

Open davidawesome02 opened this issue 3 years ago • 0 comments

I know this is dumb, because I belive that js blocks doing direct network things like quarry dose, but can I run it in py-script? https://pyscript.net/ my error in testing:

  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 'quarry'. You can use `micropip.install(..., keep_going=True)` to get a list of all packages with missing wheels.```

my code:
```<!DOCTYPE html>
<html>
    <head>
        <link rel="stylesheet" href="https://pyscript.net/alpha/pyscript.css" />
        <script defer src="https://pyscript.net/alpha/pyscript.js"></script>
        <py-env>
            - twisted
            - quarry
        </py-env>
    </head>
    <body>
        <py-script src="./proxy8.py"></py-script>
    </body>
    
</html>

I am not uploading the proxy

davidawesome02 avatar Jun 28 '22 16:06 davidawesome02