pyca / pynacl

Python binding to the Networking and Cryptography (NaCl) library
https://pynacl.readthedocs.io/
Apache License 2.0
1.05k stars 231 forks source link

Failed building wheel for PyNaCl (termux) #773

Open ssr765 opened 1 year ago

ssr765 commented 1 year ago

when i try to install PyNaCl on Termux i get this error

IMG_20220922_230915

alex commented 1 year ago

It's a bit hard to tell what's going on from this truncated output. Can you please provide the complete command and output, as text (not an image)?

alex commented 1 year ago

from the log:

      checking for ld used by aarch64-linux-android-clang... no
      configure: error: no acceptable ld found in $PATH
ssr765 commented 1 year ago

Command and complete output: https://pastebin.com/3NFfArQs

firobeid commented 1 year ago

Also pyodide.asm.js:10 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 232, in __step result = coro.send(None) File "/lib/python3.10/site-packages/_pyodide/_base.py", line 506, in eval_code_async await CodeRunner( File "/lib/python3.10/site-packages/_pyodide/_base.py", line 359, in run_async await coroutine File "", line 3, in File "/lib/python3.10/site-packages/micropip/_micropip.py", line 552, in install raise ValueError( ValueError: Can't find a pure Python 3 wheel for: 'pynacl>=1.3.0'

firobeid commented 1 year ago

Is there a none or wasm wheel?

reaperhulk commented 1 year ago

You’ll have to talk to the pyiodide folks about that. We do not ship wasm wheels (and it is not possible to ship pure Python given our libsodium dependency).