graham-walker / youtube-dl-react-viewer

Web app for youtube-dl/yt-dlp, created using the MERN stack
https://react.gwalkerux.com/
MIT License
92 stars 9 forks source link

yt-dlp installation problem #22

Closed M4RC02U1F4A4 closed 3 years ago

M4RC02U1F4A4 commented 3 years ago

To try to solve problem #21 I'm trying to use yt-dlp, but i can't install it, has anyone had the same problem?

/opt/youtube-dl-react-viewer/youtube-dl-express-backend # pip install yt-dlp
Collecting yt-dlp
  Using cached yt_dlp-2021.7.7-py2.py3-none-any.whl (2.1 MB)
Requirement already satisfied: websockets in /usr/lib/python3.8/site-packages (from yt-dlp) (9.1)
Collecting mutagen
  Using cached mutagen-1.45.1-py3-none-any.whl (218 kB)
Collecting pycryptodome
  Using cached pycryptodome-3.10.1.tar.gz (3.8 MB)
Using legacy setup.py install for pycryptodome, since package 'wheel' is not installed.
Installing collected packages: mutagen, pycryptodome, yt-dlp
    Running setup.py install for pycryptodome ... error
    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-u8itqrue/pycryptodome/setup.py'"'"'; __file__='"'"'/tmp/pip-install-u8itqrue/pycryptodome/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-hc_sg8rq/install-record.txt --single-version-externally-managed --compile --install-headers /usr/include/python3.8/pycryptodome
         cwd: /tmp/pip-install-u8itqrue/pycryptodome/
    Complete output (311 lines):
    Testing support for clang
    Target does not support clang
    Testing support for gcc
    Target does not support gcc
    Testing support for stdint.h header
    Target does not support stdint.h header
    Testing support for 128-bit integer
    Target does not support 128-bit integer
    Testing support for cpuid.h header
    Target does not support cpuid.h header
    Testing support for intrin.h header
    Target does not support intrin.h header
    Testing support for posix_memalign
    Target does not support posix_memalign
    Testing support for memalign
    Target does not support memalign
    Testing support for SSE2(intrin.h)
    Target does not support SSE2(intrin.h)
    Testing support for SSE2(x86intrin.h)
    Target does not support SSE2(x86intrin.h)
    Testing support for SSE2(emmintrin.h)
    Target does not support SSE2(emmintrin.h)
    Warning: compiler does not support AESNI instructions
    Warning: compiler does not support CLMUL instructions
    running install
    running build
    running build_py
    creating build/lib.linux-x86_64-3.8
    creating build/lib.linux-x86_64-3.8/Crypto
    copying lib/Crypto/__init__.py -> build/lib.linux-x86_64-3.8/Crypto
    creating build/lib.linux-x86_64-3.8/Crypto/Cipher
    copying lib/Crypto/Cipher/_mode_ecb.py -> build/lib.linux-x86_64-3.8/Crypto/Cipher
    copying lib/Crypto/Cipher/_mode_cbc.py -> build/lib.linux-x86_64-3.8/Crypto/Cipher
    copying lib/Crypto/Cipher/_mode_ccm.py -> build/lib.linux-x86_64-3.8/Crypto/Cipher
    copying lib/Crypto/Cipher/ARC2.py -> build/lib.linux-x86_64-3.8/Crypto/Cipher
    copying lib/Crypto/Cipher/PKCS1_OAEP.py -> build/lib.linux-x86_64-3.8/Crypto/Cipher
    copying lib/Crypto/Cipher/DES3.py -> build/lib.linux-x86_64-3.8/Crypto/Cipher
    copying lib/Crypto/Cipher/_mode_gcm.py -> build/lib.linux-x86_64-3.8/Crypto/Cipher
    copying lib/Crypto/Cipher/_mode_ofb.py -> build/lib.linux-x86_64-3.8/Crypto/Cipher
    copying lib/Crypto/Cipher/CAST.py -> build/lib.linux-x86_64-3.8/Crypto/Cipher
    copying lib/Crypto/Cipher/DES.py -> build/lib.linux-x86_64-3.8/Crypto/Cipher
    copying lib/Crypto/Cipher/Salsa20.py -> build/lib.linux-x86_64-3.8/Crypto/Cipher
    copying lib/Crypto/Cipher/_mode_ctr.py -> build/lib.linux-x86_64-3.8/Crypto/Cipher
    copying lib/Crypto/Cipher/__init__.py -> build/lib.linux-x86_64-3.8/Crypto/Cipher
    copying lib/Crypto/Cipher/ChaCha20_Poly1305.py -> build/lib.linux-x86_64-3.8/Crypto/Cipher
    copying lib/Crypto/Cipher/_mode_ocb.py -> build/lib.linux-x86_64-3.8/Crypto/Cipher
    copying lib/Crypto/Cipher/AES.py -> build/lib.linux-x86_64-3.8/Crypto/Cipher
    copying lib/Crypto/Cipher/_mode_eax.py -> build/lib.linux-x86_64-3.8/Crypto/Cipher
    copying lib/Crypto/Cipher/_mode_openpgp.py -> build/lib.linux-x86_64-3.8/Crypto/Cipher
    copying lib/Crypto/Cipher/_mode_siv.py -> build/lib.linux-x86_64-3.8/Crypto/Cipher
    copying lib/Crypto/Cipher/_EKSBlowfish.py -> build/lib.linux-x86_64-3.8/Crypto/Cipher
    copying lib/Crypto/Cipher/Blowfish.py -> build/lib.linux-x86_64-3.8/Crypto/Cipher
    copying lib/Crypto/Cipher/ARC4.py -> build/lib.linux-x86_64-3.8/Crypto/Cipher
    copying lib/Crypto/Cipher/PKCS1_v1_5.py -> build/lib.linux-x86_64-3.8/Crypto/Cipher
    copying lib/Crypto/Cipher/ChaCha20.py -> build/lib.linux-x86_64-3.8/Crypto/Cipher
    copying lib/Crypto/Cipher/_mode_cfb.py -> build/lib.linux-x86_64-3.8/Crypto/Cipher
    creating build/lib.linux-x86_64-3.8/Crypto/Hash
    copying lib/Crypto/Hash/SHAKE256.py -> build/lib.linux-x86_64-3.8/Crypto/Hash
    copying lib/Crypto/Hash/SHA256.py -> build/lib.linux-x86_64-3.8/Crypto/Hash
    copying lib/Crypto/Hash/MD2.py -> build/lib.linux-x86_64-3.8/Crypto/Hash
    copying lib/Crypto/Hash/SHAKE128.py -> build/lib.linux-x86_64-3.8/Crypto/Hash
    copying lib/Crypto/Hash/SHA1.py -> build/lib.linux-x86_64-3.8/Crypto/Hash
    copying lib/Crypto/Hash/RIPEMD160.py -> build/lib.linux-x86_64-3.8/Crypto/Hash
    copying lib/Crypto/Hash/SHA3_224.py -> build/lib.linux-x86_64-3.8/Crypto/Hash
    copying lib/Crypto/Hash/SHA512.py -> build/lib.linux-x86_64-3.8/Crypto/Hash
    copying lib/Crypto/Hash/SHA3_512.py -> build/lib.linux-x86_64-3.8/Crypto/Hash
    copying lib/Crypto/Hash/keccak.py -> build/lib.linux-x86_64-3.8/Crypto/Hash
    copying lib/Crypto/Hash/__init__.py -> build/lib.linux-x86_64-3.8/Crypto/Hash
    copying lib/Crypto/Hash/SHA.py -> build/lib.linux-x86_64-3.8/Crypto/Hash
    copying lib/Crypto/Hash/SHA3_384.py -> build/lib.linux-x86_64-3.8/Crypto/Hash
    copying lib/Crypto/Hash/RIPEMD.py -> build/lib.linux-x86_64-3.8/Crypto/Hash
    copying lib/Crypto/Hash/Poly1305.py -> build/lib.linux-x86_64-3.8/Crypto/Hash
    copying lib/Crypto/Hash/SHA384.py -> build/lib.linux-x86_64-3.8/Crypto/Hash
    copying lib/Crypto/Hash/CMAC.py -> build/lib.linux-x86_64-3.8/Crypto/Hash
    copying lib/Crypto/Hash/SHA3_256.py -> build/lib.linux-x86_64-3.8/Crypto/Hash
    copying lib/Crypto/Hash/BLAKE2b.py -> build/lib.linux-x86_64-3.8/Crypto/Hash
    copying lib/Crypto/Hash/MD5.py -> build/lib.linux-x86_64-3.8/Crypto/Hash
    copying lib/Crypto/Hash/HMAC.py -> build/lib.linux-x86_64-3.8/Crypto/Hash
    copying lib/Crypto/Hash/SHA224.py -> build/lib.linux-x86_64-3.8/Crypto/Hash
    copying lib/Crypto/Hash/BLAKE2s.py -> build/lib.linux-x86_64-3.8/Crypto/Hash
    copying lib/Crypto/Hash/MD4.py -> build/lib.linux-x86_64-3.8/Crypto/Hash
    creating build/lib.linux-x86_64-3.8/Crypto/IO
    copying lib/Crypto/IO/PKCS8.py -> build/lib.linux-x86_64-3.8/Crypto/IO
    copying lib/Crypto/IO/PEM.py -> build/lib.linux-x86_64-3.8/Crypto/IO
    copying lib/Crypto/IO/_PBES.py -> build/lib.linux-x86_64-3.8/Crypto/IO
    copying lib/Crypto/IO/__init__.py -> build/lib.linux-x86_64-3.8/Crypto/IO
    creating build/lib.linux-x86_64-3.8/Crypto/PublicKey
    copying lib/Crypto/PublicKey/ElGamal.py -> build/lib.linux-x86_64-3.8/Crypto/PublicKey
    copying lib/Crypto/PublicKey/RSA.py -> build/lib.linux-x86_64-3.8/Crypto/PublicKey
    copying lib/Crypto/PublicKey/__init__.py -> build/lib.linux-x86_64-3.8/Crypto/PublicKey
    copying lib/Crypto/PublicKey/DSA.py -> build/lib.linux-x86_64-3.8/Crypto/PublicKey
    copying lib/Crypto/PublicKey/_openssh.py -> build/lib.linux-x86_64-3.8/Crypto/PublicKey
    copying lib/Crypto/PublicKey/ECC.py -> build/lib.linux-x86_64-3.8/Crypto/PublicKey
    creating build/lib.linux-x86_64-3.8/Crypto/Protocol
    copying lib/Crypto/Protocol/__init__.py -> build/lib.linux-x86_64-3.8/Crypto/Protocol
    copying lib/Crypto/Protocol/SecretSharing.py -> build/lib.linux-x86_64-3.8/Crypto/Protocol
    copying lib/Crypto/Protocol/KDF.py -> build/lib.linux-x86_64-3.8/Crypto/Protocol
    creating build/lib.linux-x86_64-3.8/Crypto/Random
    copying lib/Crypto/Random/__init__.py -> build/lib.linux-x86_64-3.8/Crypto/Random
    copying lib/Crypto/Random/random.py -> build/lib.linux-x86_64-3.8/Crypto/Random
    creating build/lib.linux-x86_64-3.8/Crypto/Signature
    copying lib/Crypto/Signature/__init__.py -> build/lib.linux-x86_64-3.8/Crypto/Signature
    copying lib/Crypto/Signature/DSS.py -> build/lib.linux-x86_64-3.8/Crypto/Signature
    copying lib/Crypto/Signature/pss.py -> build/lib.linux-x86_64-3.8/Crypto/Signature
    copying lib/Crypto/Signature/pkcs1_15.py -> build/lib.linux-x86_64-3.8/Crypto/Signature
    copying lib/Crypto/Signature/PKCS1_v1_5.py -> build/lib.linux-x86_64-3.8/Crypto/Signature
    copying lib/Crypto/Signature/PKCS1_PSS.py -> build/lib.linux-x86_64-3.8/Crypto/Signature
    creating build/lib.linux-x86_64-3.8/Crypto/Util
    copying lib/Crypto/Util/number.py -> build/lib.linux-x86_64-3.8/Crypto/Util
    copying lib/Crypto/Util/_file_system.py -> build/lib.linux-x86_64-3.8/Crypto/Util
    copying lib/Crypto/Util/Counter.py -> build/lib.linux-x86_64-3.8/Crypto/Util
    copying lib/Crypto/Util/__init__.py -> build/lib.linux-x86_64-3.8/Crypto/Util
    copying lib/Crypto/Util/asn1.py -> build/lib.linux-x86_64-3.8/Crypto/Util
    copying lib/Crypto/Util/_cpu_features.py -> build/lib.linux-x86_64-3.8/Crypto/Util
    copying lib/Crypto/Util/RFC1751.py -> build/lib.linux-x86_64-3.8/Crypto/Util
    copying lib/Crypto/Util/strxor.py -> build/lib.linux-x86_64-3.8/Crypto/Util
    copying lib/Crypto/Util/_raw_api.py -> build/lib.linux-x86_64-3.8/Crypto/Util
    copying lib/Crypto/Util/py3compat.py -> build/lib.linux-x86_64-3.8/Crypto/Util
    copying lib/Crypto/Util/Padding.py -> build/lib.linux-x86_64-3.8/Crypto/Util
    creating build/lib.linux-x86_64-3.8/Crypto/Math
    copying lib/Crypto/Math/_IntegerNative.py -> build/lib.linux-x86_64-3.8/Crypto/Math
    copying lib/Crypto/Math/Numbers.py -> build/lib.linux-x86_64-3.8/Crypto/Math
    copying lib/Crypto/Math/_IntegerGMP.py -> build/lib.linux-x86_64-3.8/Crypto/Math
    copying lib/Crypto/Math/_IntegerCustom.py -> build/lib.linux-x86_64-3.8/Crypto/Math
    copying lib/Crypto/Math/_IntegerBase.py -> build/lib.linux-x86_64-3.8/Crypto/Math
    copying lib/Crypto/Math/__init__.py -> build/lib.linux-x86_64-3.8/Crypto/Math
    copying lib/Crypto/Math/Primality.py -> build/lib.linux-x86_64-3.8/Crypto/Math
    creating build/lib.linux-x86_64-3.8/Crypto/SelfTest
    copying lib/Crypto/SelfTest/__main__.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest
    copying lib/Crypto/SelfTest/__init__.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest
    copying lib/Crypto/SelfTest/loader.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest
    copying lib/Crypto/SelfTest/st_common.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest
    creating build/lib.linux-x86_64-3.8/Crypto/SelfTest/Cipher
    copying lib/Crypto/SelfTest/Cipher/test_OCB.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/Cipher
    copying lib/Crypto/SelfTest/Cipher/test_CBC.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/Cipher
    copying lib/Crypto/SelfTest/Cipher/test_ARC2.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/Cipher
    copying lib/Crypto/SelfTest/Cipher/test_SIV.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/Cipher
    copying lib/Crypto/SelfTest/Cipher/test_OpenPGP.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/Cipher
    copying lib/Crypto/SelfTest/Cipher/test_CFB.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/Cipher
    copying lib/Crypto/SelfTest/Cipher/test_CAST.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/Cipher
    copying lib/Crypto/SelfTest/Cipher/test_DES3.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/Cipher
    copying lib/Crypto/SelfTest/Cipher/test_ARC4.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/Cipher
    copying lib/Crypto/SelfTest/Cipher/__init__.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/Cipher
    copying lib/Crypto/SelfTest/Cipher/test_OFB.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/Cipher
    copying lib/Crypto/SelfTest/Cipher/test_CTR.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/Cipher
    copying lib/Crypto/SelfTest/Cipher/test_pkcs1_oaep.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/Cipher
    copying lib/Crypto/SelfTest/Cipher/test_GCM.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/Cipher
    copying lib/Crypto/SelfTest/Cipher/test_Blowfish.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/Cipher
    copying lib/Crypto/SelfTest/Cipher/test_pkcs1_15.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/Cipher
    copying lib/Crypto/SelfTest/Cipher/test_EAX.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/Cipher
    copying lib/Crypto/SelfTest/Cipher/common.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/Cipher
    copying lib/Crypto/SelfTest/Cipher/test_DES.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/Cipher
    copying lib/Crypto/SelfTest/Cipher/test_Salsa20.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/Cipher
    copying lib/Crypto/SelfTest/Cipher/test_ChaCha20.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/Cipher
    copying lib/Crypto/SelfTest/Cipher/test_CCM.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/Cipher
    copying lib/Crypto/SelfTest/Cipher/test_ChaCha20_Poly1305.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/Cipher
    copying lib/Crypto/SelfTest/Cipher/test_AES.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/Cipher
    creating build/lib.linux-x86_64-3.8/Crypto/SelfTest/Hash
    copying lib/Crypto/SelfTest/Hash/test_SHA512.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/Hash
    copying lib/Crypto/SelfTest/Hash/test_SHA3_256.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/Hash
    copying lib/Crypto/SelfTest/Hash/test_Poly1305.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/Hash
    copying lib/Crypto/SelfTest/Hash/test_CMAC.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/Hash
    copying lib/Crypto/SelfTest/Hash/test_SHA256.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/Hash
    copying lib/Crypto/SelfTest/Hash/test_MD5.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/Hash
    copying lib/Crypto/SelfTest/Hash/test_SHA224.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/Hash
    copying lib/Crypto/SelfTest/Hash/test_MD4.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/Hash
    copying lib/Crypto/SelfTest/Hash/test_HMAC.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/Hash
    copying lib/Crypto/SelfTest/Hash/test_BLAKE2.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/Hash
    copying lib/Crypto/SelfTest/Hash/test_RIPEMD160.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/Hash
    copying lib/Crypto/SelfTest/Hash/__init__.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/Hash
    copying lib/Crypto/SelfTest/Hash/test_SHA1.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/Hash
    copying lib/Crypto/SelfTest/Hash/test_SHAKE.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/Hash
    copying lib/Crypto/SelfTest/Hash/test_SHA3_512.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/Hash
    copying lib/Crypto/SelfTest/Hash/test_MD2.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/Hash
    copying lib/Crypto/SelfTest/Hash/test_SHA3_384.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/Hash
    copying lib/Crypto/SelfTest/Hash/common.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/Hash
    copying lib/Crypto/SelfTest/Hash/test_SHA3_224.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/Hash
    copying lib/Crypto/SelfTest/Hash/test_keccak.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/Hash
    copying lib/Crypto/SelfTest/Hash/test_SHA384.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/Hash
    creating build/lib.linux-x86_64-3.8/Crypto/SelfTest/IO
    copying lib/Crypto/SelfTest/IO/test_PBES.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/IO
    copying lib/Crypto/SelfTest/IO/test_PKCS8.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/IO
    copying lib/Crypto/SelfTest/IO/__init__.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/IO
    creating build/lib.linux-x86_64-3.8/Crypto/SelfTest/Protocol
    copying lib/Crypto/SelfTest/Protocol/test_KDF.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/Protocol
    copying lib/Crypto/SelfTest/Protocol/__init__.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/Protocol
    copying lib/Crypto/SelfTest/Protocol/test_rfc1751.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/Protocol
    copying lib/Crypto/SelfTest/Protocol/test_SecretSharing.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/Protocol
    creating build/lib.linux-x86_64-3.8/Crypto/SelfTest/PublicKey
    copying lib/Crypto/SelfTest/PublicKey/test_ElGamal.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/PublicKey
    copying lib/Crypto/SelfTest/PublicKey/test_ECC.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/PublicKey
    copying lib/Crypto/SelfTest/PublicKey/test_import_DSA.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/PublicKey
    copying lib/Crypto/SelfTest/PublicKey/__init__.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/PublicKey
    copying lib/Crypto/SelfTest/PublicKey/test_RSA.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/PublicKey
    copying lib/Crypto/SelfTest/PublicKey/test_import_ECC.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/PublicKey
    copying lib/Crypto/SelfTest/PublicKey/test_import_RSA.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/PublicKey
    copying lib/Crypto/SelfTest/PublicKey/test_DSA.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/PublicKey
    creating build/lib.linux-x86_64-3.8/Crypto/SelfTest/Random
    copying lib/Crypto/SelfTest/Random/__init__.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/Random
    copying lib/Crypto/SelfTest/Random/test_random.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/Random
    creating build/lib.linux-x86_64-3.8/Crypto/SelfTest/Signature
    copying lib/Crypto/SelfTest/Signature/__init__.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/Signature
    copying lib/Crypto/SelfTest/Signature/test_pss.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/Signature
    copying lib/Crypto/SelfTest/Signature/test_pkcs1_15.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/Signature
    copying lib/Crypto/SelfTest/Signature/test_dss.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/Signature
    creating build/lib.linux-x86_64-3.8/Crypto/SelfTest/Util
    copying lib/Crypto/SelfTest/Util/test_strxor.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/Util
    copying lib/Crypto/SelfTest/Util/test_number.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/Util
    copying lib/Crypto/SelfTest/Util/test_Padding.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/Util
    copying lib/Crypto/SelfTest/Util/__init__.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/Util
    copying lib/Crypto/SelfTest/Util/test_rfc1751.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/Util
    copying lib/Crypto/SelfTest/Util/test_Counter.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/Util
    copying lib/Crypto/SelfTest/Util/test_asn1.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/Util
    creating build/lib.linux-x86_64-3.8/Crypto/SelfTest/Math
    copying lib/Crypto/SelfTest/Math/test_Numbers.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/Math
    copying lib/Crypto/SelfTest/Math/__init__.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/Math
    copying lib/Crypto/SelfTest/Math/test_modexp.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/Math
    copying lib/Crypto/SelfTest/Math/test_Primality.py -> build/lib.linux-x86_64-3.8/Crypto/SelfTest/Math
    copying lib/Crypto/py.typed -> build/lib.linux-x86_64-3.8/Crypto
    copying lib/Crypto/__init__.pyi -> build/lib.linux-x86_64-3.8/Crypto
    copying lib/Crypto/Cipher/CAST.pyi -> build/lib.linux-x86_64-3.8/Crypto/Cipher
    copying lib/Crypto/Cipher/__init__.pyi -> build/lib.linux-x86_64-3.8/Crypto/Cipher
    copying lib/Crypto/Cipher/Blowfish.pyi -> build/lib.linux-x86_64-3.8/Crypto/Cipher
    copying lib/Crypto/Cipher/_mode_cbc.pyi -> build/lib.linux-x86_64-3.8/Crypto/Cipher
    copying lib/Crypto/Cipher/_mode_ocb.pyi -> build/lib.linux-x86_64-3.8/Crypto/Cipher
    copying lib/Crypto/Cipher/ARC2.pyi -> build/lib.linux-x86_64-3.8/Crypto/Cipher
    copying lib/Crypto/Cipher/AES.pyi -> build/lib.linux-x86_64-3.8/Crypto/Cipher
    copying lib/Crypto/Cipher/DES.pyi -> build/lib.linux-x86_64-3.8/Crypto/Cipher
    copying lib/Crypto/Cipher/PKCS1_v1_5.pyi -> build/lib.linux-x86_64-3.8/Crypto/Cipher
    copying lib/Crypto/Cipher/DES3.pyi -> build/lib.linux-x86_64-3.8/Crypto/Cipher
    copying lib/Crypto/Cipher/ARC4.pyi -> build/lib.linux-x86_64-3.8/Crypto/Cipher
    copying lib/Crypto/Cipher/ChaCha20_Poly1305.pyi -> build/lib.linux-x86_64-3.8/Crypto/Cipher
    copying lib/Crypto/Cipher/_mode_siv.pyi -> build/lib.linux-x86_64-3.8/Crypto/Cipher
    copying lib/Crypto/Cipher/_mode_eax.pyi -> build/lib.linux-x86_64-3.8/Crypto/Cipher
    copying lib/Crypto/Cipher/_mode_ofb.pyi -> build/lib.linux-x86_64-3.8/Crypto/Cipher
    copying lib/Crypto/Cipher/ChaCha20.pyi -> build/lib.linux-x86_64-3.8/Crypto/Cipher
    copying lib/Crypto/Cipher/_EKSBlowfish.pyi -> build/lib.linux-x86_64-3.8/Crypto/Cipher
    copying lib/Crypto/Cipher/_mode_ecb.pyi -> build/lib.linux-x86_64-3.8/Crypto/Cipher
    copying lib/Crypto/Cipher/_mode_ctr.pyi -> build/lib.linux-x86_64-3.8/Crypto/Cipher
    copying lib/Crypto/Cipher/PKCS1_OAEP.pyi -> build/lib.linux-x86_64-3.8/Crypto/Cipher
    copying lib/Crypto/Cipher/_mode_gcm.pyi -> build/lib.linux-x86_64-3.8/Crypto/Cipher
    copying lib/Crypto/Cipher/_mode_cfb.pyi -> build/lib.linux-x86_64-3.8/Crypto/Cipher
    copying lib/Crypto/Cipher/_mode_openpgp.pyi -> build/lib.linux-x86_64-3.8/Crypto/Cipher
    copying lib/Crypto/Cipher/_mode_ccm.pyi -> build/lib.linux-x86_64-3.8/Crypto/Cipher
    copying lib/Crypto/Cipher/Salsa20.pyi -> build/lib.linux-x86_64-3.8/Crypto/Cipher
    copying lib/Crypto/Hash/Poly1305.pyi -> build/lib.linux-x86_64-3.8/Crypto/Hash
    copying lib/Crypto/Hash/MD5.pyi -> build/lib.linux-x86_64-3.8/Crypto/Hash
    copying lib/Crypto/Hash/__init__.pyi -> build/lib.linux-x86_64-3.8/Crypto/Hash
    copying lib/Crypto/Hash/SHA512.pyi -> build/lib.linux-x86_64-3.8/Crypto/Hash
    copying lib/Crypto/Hash/BLAKE2s.pyi -> build/lib.linux-x86_64-3.8/Crypto/Hash
    copying lib/Crypto/Hash/RIPEMD160.pyi -> build/lib.linux-x86_64-3.8/Crypto/Hash
    copying lib/Crypto/Hash/CMAC.pyi -> build/lib.linux-x86_64-3.8/Crypto/Hash
    copying lib/Crypto/Hash/RIPEMD.pyi -> build/lib.linux-x86_64-3.8/Crypto/Hash
    copying lib/Crypto/Hash/HMAC.pyi -> build/lib.linux-x86_64-3.8/Crypto/Hash
    copying lib/Crypto/Hash/SHA256.pyi -> build/lib.linux-x86_64-3.8/Crypto/Hash
    copying lib/Crypto/Hash/SHA.pyi -> build/lib.linux-x86_64-3.8/Crypto/Hash
    copying lib/Crypto/Hash/SHA3_256.pyi -> build/lib.linux-x86_64-3.8/Crypto/Hash
    copying lib/Crypto/Hash/SHA1.pyi -> build/lib.linux-x86_64-3.8/Crypto/Hash
    copying lib/Crypto/Hash/BLAKE2b.pyi -> build/lib.linux-x86_64-3.8/Crypto/Hash
    copying lib/Crypto/Hash/SHA3_224.pyi -> build/lib.linux-x86_64-3.8/Crypto/Hash
    copying lib/Crypto/Hash/MD4.pyi -> build/lib.linux-x86_64-3.8/Crypto/Hash
    copying lib/Crypto/Hash/SHA384.pyi -> build/lib.linux-x86_64-3.8/Crypto/Hash
    copying lib/Crypto/Hash/SHAKE128.pyi -> build/lib.linux-x86_64-3.8/Crypto/Hash
    copying lib/Crypto/Hash/SHA3_384.pyi -> build/lib.linux-x86_64-3.8/Crypto/Hash
    copying lib/Crypto/Hash/keccak.pyi -> build/lib.linux-x86_64-3.8/Crypto/Hash
    copying lib/Crypto/Hash/SHA3_512.pyi -> build/lib.linux-x86_64-3.8/Crypto/Hash
    copying lib/Crypto/Hash/MD2.pyi -> build/lib.linux-x86_64-3.8/Crypto/Hash
    copying lib/Crypto/Hash/SHAKE256.pyi -> build/lib.linux-x86_64-3.8/Crypto/Hash
    copying lib/Crypto/Hash/SHA224.pyi -> build/lib.linux-x86_64-3.8/Crypto/Hash
    copying lib/Crypto/IO/PKCS8.pyi -> build/lib.linux-x86_64-3.8/Crypto/IO
    copying lib/Crypto/IO/_PBES.pyi -> build/lib.linux-x86_64-3.8/Crypto/IO
    copying lib/Crypto/IO/PEM.pyi -> build/lib.linux-x86_64-3.8/Crypto/IO
    copying lib/Crypto/PublicKey/__init__.pyi -> build/lib.linux-x86_64-3.8/Crypto/PublicKey
    copying lib/Crypto/PublicKey/DSA.pyi -> build/lib.linux-x86_64-3.8/Crypto/PublicKey
    copying lib/Crypto/PublicKey/ECC.pyi -> build/lib.linux-x86_64-3.8/Crypto/PublicKey
    copying lib/Crypto/PublicKey/RSA.pyi -> build/lib.linux-x86_64-3.8/Crypto/PublicKey
    copying lib/Crypto/PublicKey/ElGamal.pyi -> build/lib.linux-x86_64-3.8/Crypto/PublicKey
    copying lib/Crypto/PublicKey/_openssh.pyi -> build/lib.linux-x86_64-3.8/Crypto/PublicKey
    copying lib/Crypto/Protocol/__init__.pyi -> build/lib.linux-x86_64-3.8/Crypto/Protocol
    copying lib/Crypto/Protocol/KDF.pyi -> build/lib.linux-x86_64-3.8/Crypto/Protocol
    copying lib/Crypto/Protocol/SecretSharing.pyi -> build/lib.linux-x86_64-3.8/Crypto/Protocol
    copying lib/Crypto/Random/__init__.pyi -> build/lib.linux-x86_64-3.8/Crypto/Random
    copying lib/Crypto/Random/random.pyi -> build/lib.linux-x86_64-3.8/Crypto/Random
    copying lib/Crypto/Signature/PKCS1_v1_5.pyi -> build/lib.linux-x86_64-3.8/Crypto/Signature
    copying lib/Crypto/Signature/PKCS1_PSS.pyi -> build/lib.linux-x86_64-3.8/Crypto/Signature
    copying lib/Crypto/Signature/pkcs1_15.pyi -> build/lib.linux-x86_64-3.8/Crypto/Signature
    copying lib/Crypto/Signature/DSS.pyi -> build/lib.linux-x86_64-3.8/Crypto/Signature
    copying lib/Crypto/Signature/pss.pyi -> build/lib.linux-x86_64-3.8/Crypto/Signature
    copying lib/Crypto/Util/RFC1751.pyi -> build/lib.linux-x86_64-3.8/Crypto/Util
    copying lib/Crypto/Util/_cpu_features.pyi -> build/lib.linux-x86_64-3.8/Crypto/Util
    copying lib/Crypto/Util/Counter.pyi -> build/lib.linux-x86_64-3.8/Crypto/Util
    copying lib/Crypto/Util/asn1.pyi -> build/lib.linux-x86_64-3.8/Crypto/Util
    copying lib/Crypto/Util/_file_system.pyi -> build/lib.linux-x86_64-3.8/Crypto/Util
    copying lib/Crypto/Util/py3compat.pyi -> build/lib.linux-x86_64-3.8/Crypto/Util
    copying lib/Crypto/Util/strxor.pyi -> build/lib.linux-x86_64-3.8/Crypto/Util
    copying lib/Crypto/Util/number.pyi -> build/lib.linux-x86_64-3.8/Crypto/Util
    copying lib/Crypto/Util/Padding.pyi -> build/lib.linux-x86_64-3.8/Crypto/Util
    copying lib/Crypto/Util/_raw_api.pyi -> build/lib.linux-x86_64-3.8/Crypto/Util
    copying lib/Crypto/Math/_IntegerBase.pyi -> build/lib.linux-x86_64-3.8/Crypto/Math
    copying lib/Crypto/Math/_IntegerNative.pyi -> build/lib.linux-x86_64-3.8/Crypto/Math
    copying lib/Crypto/Math/Numbers.pyi -> build/lib.linux-x86_64-3.8/Crypto/Math
    copying lib/Crypto/Math/_IntegerCustom.pyi -> build/lib.linux-x86_64-3.8/Crypto/Math
    copying lib/Crypto/Math/_IntegerGMP.pyi -> build/lib.linux-x86_64-3.8/Crypto/Math
    copying lib/Crypto/Math/Primality.pyi -> build/lib.linux-x86_64-3.8/Crypto/Math
    running build_ext
    building 'Crypto.Hash._MD2' extension
    creating build/temp.linux-x86_64-3.8
    creating build/temp.linux-x86_64-3.8/src
    gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fomit-frame-pointer -g -fno-semantic-interposition -fomit-frame-pointer -g -fno-semantic-interposition -fomit-frame-pointer -g -fno-semantic-interposition -DTHREAD_STACK_SIZE=0x100000 -fPIC -DPYCRYPTO_LITTLE_ENDIAN -DSYS_BITS=64 -DLTC_NO_ASM -Isrc/ -I/usr/include/python3.8 -c src/MD2.c -o build/temp.linux-x86_64-3.8/src/MD2.o
    unable to execute 'gcc': No such file or directory
    error: command 'gcc' failed with exit status 1
    ----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-u8itqrue/pycryptodome/setup.py'"'"'; __file__='"'"'/tmp/pip-install-u8itqrue/pycryptodome/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-hc_sg8rq/install-record.txt --single-version-externally-managed --compile --install-headers /usr/include/python3.8/pycryptodome Check the logs for full command output.
JamoDevNich commented 3 years ago
Using legacy setup.py install for pycryptodome, since package 'wheel' is not installed.
...
unable to execute 'gcc': No such file or directory

You may need to install either wheel or gcc. I'd suggest installing wheel: pip install wheel yt-dlp

Edit: removed typo

M4RC02U1F4A4 commented 3 years ago

I installed wheel but it still doesn't work, apparently it also needs gcc, so I edited the Dockerfile removing build-base from the RUN apk del

Now yt-dlp is installed, but apparently there are some compatiiblity issue

app_1  | [youtube-dl-exec-script] Probing video file...
app_1  | ERROR: Failed to determine the identity of 5 files:
app_1  | [
app_1  |   'SpaceX’s Genius New Satellite Launcher - Primal Space - 20210623.0.jpg',
app_1  |   'SpaceX’s Genius New Satellite Launcher - Primal Space - 20210623.1.jpg',
app_1  |   'SpaceX’s Genius New Satellite Launcher - Primal Space - 20210623.2.jpg',
app_1  |   'SpaceX’s Genius New Satellite Launcher - Primal Space - 20210623.3.jpg',
app_1  |   'SpaceX’s Genius New Satellite Launcher - Primal Space - 20210623.4.jpg'
app_1  | ]
app_1  | ERROR: Encountered a fatal error. Run the script with the argument: -d to print debug information
app_1  | [youtube-dl-exec-script] Recorded error successfully
db_1   | {"t":{"$date":"2021-07-16T08:58:04.473+00:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn22","msg":"Connection ended","attr":{"remote":"192.168.80.3:59548","connectionId":22,"connectionCount":15}}
db_1   | {"t":{"$date":"2021-07-16T08:58:04.473+00:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn24","msg":"Connection ended","attr":{"remote":"192.168.80.3:59552","connectionId":24,"connectionCount":16}}
db_1   | {"t":{"$date":"2021-07-16T08:58:04.473+00:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn20","msg":"Connection ended","attr":{"remote":"192.168.80.3:59544","connectionId":20,"connectionCount":11}}
db_1   | {"t":{"$date":"2021-07-16T08:58:04.473+00:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn18","msg":"Connection ended","attr":{"remote":"192.168.80.3:59540","connectionId":18,"connectionCount":10}}
db_1   | {"t":{"$date":"2021-07-16T08:58:04.473+00:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn23","msg":"Connection ended","attr":{"remote":"192.168.80.3:59550","connectionId":23,"connectionCount":14}}
db_1   | {"t":{"$date":"2021-07-16T08:58:04.473+00:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn21","msg":"Connection ended","attr":{"remote":"192.168.80.3:59546","connectionId":21,"connectionCount":13}}
db_1   | {"t":{"$date":"2021-07-16T08:58:04.473+00:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn19","msg":"Connection ended","attr":{"remote":"192.168.80.3:59542","connectionId":19,"connectionCount":12}}
app_1  | ERROR: Postprocessing: Command returned error code 1

VERBOSE=TRUE

app_1  | ERROR: Failed to determine the identity of 5 files:
app_1  | [
app_1  |   'SpaceX’s Genius New Satellite Launcher - Primal Space - 20210623.0.jpg',
app_1  |   'SpaceX’s Genius New Satellite Launcher - Primal Space - 20210623.1.jpg',
app_1  |   'SpaceX’s Genius New Satellite Launcher - Primal Space - 20210623.2.jpg',
app_1  |   'SpaceX’s Genius New Satellite Launcher - Primal Space - 20210623.3.jpg',
app_1  |   'SpaceX’s Genius New Satellite Launcher - Primal Space - 20210623.4.jpg'
app_1  | ]
app_1  | ERROR: Encountered a fatal error:
app_1  | Error: Failed to index all files: SpaceX’s Genius New Satellite Launcher - Primal Space - 20210623.0.jpg, SpaceX’s Genius New Satellite Launcher - Primal Space - 20210623.1.jpg, SpaceX’s Genius New Satellite Launcher - Primal Space - 20210623.2.jpg, SpaceX’s Genius New Satellite Launcher - Primal Space - 20210623.3.jpg, SpaceX’s Genius New Satellite Launcher - Primal Space - 20210623.4.jpg
app_1  |     at file:///opt/youtube-dl-react-viewer/youtube-dl-express-backend/exec.js:383:15
app_1  |     at processTicksAndRejections (node:internal/process/task_queues:94:5)
app_1  | [youtube-dl-exec-script] Recorded error successfully
db_1   | {"t":{"$date":"2021-07-16T13:35:55.093+00:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn17","msg":"Connection ended","attr":{"remote":"192.168.96.3:33472","connectionId":17,"connectionCount":16}}
db_1   | {"t":{"$date":"2021-07-16T13:35:55.093+00:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn11","msg":"Connection ended","attr":{"remote":"192.168.96.3:33460","connectionId":11,"connectionCount":11}}
db_1   | {"t":{"$date":"2021-07-16T13:35:55.093+00:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn13","msg":"Connection ended","attr":{"remote":"192.168.96.3:33464","connectionId":13,"connectionCount":13}}
db_1   | {"t":{"$date":"2021-07-16T13:35:55.093+00:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn15","msg":"Connection ended","attr":{"remote":"192.168.96.3:33468","connectionId":15,"connectionCount":12}}
db_1   | {"t":{"$date":"2021-07-16T13:35:55.093+00:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn16","msg":"Connection ended","attr":{"remote":"192.168.96.3:33470","connectionId":16,"connectionCount":15}}
db_1   | {"t":{"$date":"2021-07-16T13:35:55.093+00:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn14","msg":"Connection ended","attr":{"remote":"192.168.96.3:33466","connectionId":14,"connectionCount":14}}
db_1   | {"t":{"$date":"2021-07-16T13:35:55.093+00:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn12","msg":"Connection ended","attr":{"remote":"192.168.96.3:33462","connectionId":12,"connectionCount":10}}
app_1  | ERROR: Postprocessing: Command returned error code 1
app_1  | Traceback (most recent call last):
app_1  |   File "/usr/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 2736, in process_info
app_1  |     info_dict = self.post_process(dl_filename, info_dict, files_to_move)
app_1  |   File "/usr/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 2880, in post_process
app_1  |     info = self.run_pp(pp, info)
app_1  |   File "/usr/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 2825, in run_pp
app_1  |     files_to_delete, infodict = pp.run(infodict)
app_1  |   File "/usr/lib/python3.8/site-packages/yt_dlp/postprocessor/execafterdownload.py", line 38, in run
app_1  |     raise PostProcessingError('Command returned error code %d' % retCode)
app_1  | yt_dlp.utils.PostProcessingError: Command returned error code 1
JamoDevNich commented 3 years ago

Hmm, the file identity error for yt-dlp thumbnail images was fixed in 99cfeeb unless something else has changed since then...

Which version of react-viewer are you running? Could you try version 1.3.0 and see if that works with yt-dlp

M4RC02U1F4A4 commented 3 years ago

Which version of react-viewer are you running? Could you try version 1.3.0 and see if that works with yt-dlp

With version 1.3.0 everything seems to work fine