Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem on termux #513

Open
skycat2216 opened this issue Feb 22, 2019 · 1 comment
Open

problem on termux #513

skycat2216 opened this issue Feb 22, 2019 · 1 comment

Comments

@skycat2216
Copy link

well, I'm try to install routers...damn I forgot how it spell

here is error message

newly installed, 0 to remove and 7 not upgraded. $ pip install pynacl Collecting pynacl Using cached https://files.pythonhosted.org/packages/61/ab/2ac6dea8489fa713e2b4c6c5b549cc962dd4a842b5998d9e80cf8440b7cd/PyNaCl-1.3.0.tar.gz Installing build dependencies ... done Requirement already satisfied: six in /data/data/com.termux/files/usr/lib/python3.7/site-packages (from pynacl) (1.12.0) Requirement already satisfied: cffi>=1.4.1 in /data/data/com.termux/files/usr/lib/python3.7/site-packages (from pynacl) (1.12.1) Requirement already satisfied: pycparser in /data/data/com.termux/files/usr/lib/python3.7/site-packages (from cffi>=1.4.1->pynacl) (2.19) Installing collected packages: pynacl Running setup.py install for pynacl ... error Complete output from command /data/data/com.termux/files/usr/bin/python -u -c "import setuptools, tokenize;file='/data/data/com.termux/files/usr/tmp/pip-install-e27ptu1k/pynacl/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /data/data/com.termux/files/usr/tmp/pip-record-y75y0qu0/install-record.txt --single-version-externally-managed --compile: running install running build running build_py creating build creating build/lib.linux-aarch64-3.7 creating build/lib.linux-aarch64-3.7/nacl copying src/nacl/init.py -> build/lib.linux-aarch64-3.7/nacl copying src/nacl/encoding.py -> build/lib.linux-aarch64-3.7/nacl copying src/nacl/exceptions.py -> build/lib.linux-aarch64-3.7/nacl copying src/nacl/hash.py -> build/lib.linux-aarch64-3.7/nacl
copying src/nacl/hashlib.py -> build/lib.linux-aarch64-3.7/nacl copying src/nacl/public.py -> build/lib.linux-aarch64-3.7/nacl copying src/nacl/secret.py -> build/lib.linux-aarch64-3.7/nacl copying src/nacl/signing.py -> build/lib.linux-aarch64-3.7/nacl copying src/nacl/utils.py -> build/lib.linux-aarch64-3.7/nacl creating build/lib.linux-aarch64-3.7/nacl/pwhash copying src/nacl/pwhash/init.py -> build/lib.linux-aarch64-3.7/nacl/pwhash copying src/nacl/pwhash/_argon2.py -> build/lib.linux-aarch64-3.7/nacl/pwhash copying src/nacl/pwhash/argon2i.py -> build/lib.linux-aarch64-3.7/nacl/pwhash copying src/nacl/pwhash/argon2id.py -> build/lib.linux-aarch64-3.7/nacl/pwhash copying src/nacl/pwhash/scrypt.py -> build/lib.linux-aarch64-3.7/nacl/pwhash creating build/lib.linux-aarch64-3.7/nacl/bindings copying src/nacl/bindings/init.py -> build/lib.linux-aarch64-3.7/nacl/bindings copying src/nacl/bindings/crypto_aead.py -> build/lib.linux-aarch64-3.7/nacl/bindings copying src/nacl/bindings/crypto_box.py -> build/lib.linux-aarch64-3.7/nacl/bindings copying src/nacl/bindings/crypto_generichash.py -> build/lib.linux-aarch64-3.7/nacl/bindings
copying src/nacl/bindings/crypto_hash.py -> build/lib.linux-aarch64-3.7/nacl/bindings copying src/nacl/bindings/crypto_kx.py -> build/lib.linux-aarch64-3.7/nacl/bindings copying src/nacl/bindings/crypto_pwhash.py -> build/lib.linux-aarch64-3.7/nacl/bindings copying src/nacl/bindings/crypto_scalarmult.py -> build/lib.linux-aarch64-3.7/nacl/bindings copying src/nacl/bindings/crypto_secretbox.py -> build/lib.linux-aarch64-3.7/nacl/bindings copying src/nacl/bindings/crypto_secretstream.py -> build/lib.linux-aarch64-3.7/nacl/bindings copying src/nacl/bindings/crypto_shorthash.py -> build/lib.linux-aarch64-3.7/nacl/bindings copying src/nacl/bindings/crypto_sign.py -> build/lib.linux-aarch64-3.7/nacl/bindings
copying src/nacl/bindings/randombytes.py -> build/lib.linux-aarch64-3.7/nacl/bindings copying src/nacl/bindings/sodium_core.py -> build/lib.linux-aarch64-3.7/nacl/bindings copying src/nacl/bindings/utils.py -> build/lib.linux-aarch64-3.7/nacl/bindings running build_clib error: [Errno 2] No such file or directory: '/data/data/com.termux/files/usr/tmp/pip-install-e27ptu1k/pynacl/src/libsodium/configure': '/data/data/com.termux/files/usr/tmp/pip-install-e27ptu1k/pynacl/src/libsodium/configure' ---------------------------------------- Command "/data/data/com.termux/files/usr/bin/python -u -c "import setuptools, tokenize;file='/data/data/com.termux/files/usr/tmp/pip-install-e27ptu1k/pynacl/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /data/data/com.termux/files/usr/tmp/pip-record-y75y0qu0/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /data/data/com.termux/files/usr/tmp/pip-install-e27ptu1k/pynacl/

does anyone know what happened?

@Darkar25
Copy link

Darkar25 commented Sep 10, 2021

i am trying to install this too...that`s what i think...

  • i tried installing through pip...failure
  • i tried building from source...failure
  • i tried pip install with --no-use-pep517...failure
  • i tried downgrading python to 3.8 (and try all steps above)...failure
  • i tried to install pynacl on newer device (G950FD) instead of my problematic device (T530NU)...it installed on termux python 3.9 without any problems, even though pynacl doesn`t oficially support python 3.9(at least this is not documented anywhere)...

i don`t exactly know the problem, but i suggest it either different architecture or that my T530NU is 6 year old tablet and pynacl doesn`t even supported by this old devices...
so my advice here is to buy a new phone...or a laptop will be better, you will have A LOT of cool features that you won`t get or will be hard to get on your phone...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants