Загрузка данных


Building wheels for collected packages: cryptography
  Building wheel for cryptography (PEP 517) ... error
  ERROR: Command errored out with exit status 1:
   command: /home/user/venv/bin/python /tmp/tmpuwwguizs_in_process.py build_wheel /tmp/tmpwy8k8mru
       cwd: /tmp/pip-install-6xso602a/cryptography_8cd48557fdb64032ab7a40cf282bb29f
  Complete output (289 lines):
  /tmp/pip-build-env-y0g3wn81/overlay/lib/python3.9/site-packages/setuptools/dist.py:765: SetuptoolsDeprecationWarning: License classifiers are deprecated.
  !!
  
          ********************************************************************************
          Please consider removing the following classifiers in favor of a SPDX license expression:
  
          License :: OSI Approved :: Apache Software License
          License :: OSI Approved :: BSD License
  
          See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
          ********************************************************************************
  
  !!
    self._finalize_license_expression()
  running bdist_wheel
  running build
  running build_py
  creating build/lib.linux-x86_64-cpython-39/cryptography
  copying src/cryptography/__init__.py -> build/lib.linux-x86_64-cpython-39/cryptography
  copying src/cryptography/fernet.py -> build/lib.linux-x86_64-cpython-39/cryptography
  copying src/cryptography/__about__.py -> build/lib.linux-x86_64-cpython-39/cryptography
  copying src/cryptography/exceptions.py -> build/lib.linux-x86_64-cpython-39/cryptography
  copying src/cryptography/utils.py -> build/lib.linux-x86_64-cpython-39/cryptography
  creating build/lib.linux-x86_64-cpython-39/cryptography/hazmat
  copying src/cryptography/hazmat/__init__.py -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat
  copying src/cryptography/hazmat/_oid.py -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat
  creating build/lib.linux-x86_64-cpython-39/cryptography/x509
  copying src/cryptography/x509/__init__.py -> build/lib.linux-x86_64-cpython-39/cryptography/x509
  copying src/cryptography/x509/ocsp.py -> build/lib.linux-x86_64-cpython-39/cryptography/x509
  copying src/cryptography/x509/extensions.py -> build/lib.linux-x86_64-cpython-39/cryptography/x509
  copying src/cryptography/x509/base.py -> build/lib.linux-x86_64-cpython-39/cryptography/x509
  copying src/cryptography/x509/name.py -> build/lib.linux-x86_64-cpython-39/cryptography/x509
  copying src/cryptography/x509/certificate_transparency.py -> build/lib.linux-x86_64-cpython-39/cryptography/x509
  copying src/cryptography/x509/general_name.py -> build/lib.linux-x86_64-cpython-39/cryptography/x509
  copying src/cryptography/x509/oid.py -> build/lib.linux-x86_64-cpython-39/cryptography/x509
  creating build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/__init__.py -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/hmac.py -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/_asymmetric.py -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/hashes.py -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/_serialization.py -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/poly1305.py -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/keywrap.py -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/constant_time.py -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/_cipheralgorithm.py -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/cmac.py -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/padding.py -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives
  creating build/lib.linux-x86_64-cpython-39/cryptography/hazmat/backends
  copying src/cryptography/hazmat/backends/__init__.py -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/backends
  creating build/lib.linux-x86_64-cpython-39/cryptography/hazmat/bindings
  copying src/cryptography/hazmat/bindings/__init__.py -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/bindings
  creating build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/twofactor
  copying src/cryptography/hazmat/primitives/twofactor/hotp.py -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/twofactor
  copying src/cryptography/hazmat/primitives/twofactor/__init__.py -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/twofactor
  copying src/cryptography/hazmat/primitives/twofactor/totp.py -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/twofactor
  creating build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/ciphers
  copying src/cryptography/hazmat/primitives/ciphers/modes.py -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/ciphers
  copying src/cryptography/hazmat/primitives/ciphers/__init__.py -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/ciphers
  copying src/cryptography/hazmat/primitives/ciphers/algorithms.py -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/ciphers
  copying src/cryptography/hazmat/primitives/ciphers/base.py -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/ciphers
  copying src/cryptography/hazmat/primitives/ciphers/aead.py -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/ciphers
  creating build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/__init__.py -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/dh.py -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/rsa.py -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/dsa.py -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/types.py -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/ec.py -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/x25519.py -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/ed448.py -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/ed25519.py -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/x448.py -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/padding.py -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/utils.py -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/asymmetric
  creating build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/serialization
  copying src/cryptography/hazmat/primitives/serialization/__init__.py -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/serialization
  copying src/cryptography/hazmat/primitives/serialization/pkcs12.py -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/serialization
  copying src/cryptography/hazmat/primitives/serialization/ssh.py -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/serialization
  copying src/cryptography/hazmat/primitives/serialization/base.py -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/serialization
  copying src/cryptography/hazmat/primitives/serialization/pkcs7.py -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/serialization
  creating build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/x963kdf.py -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/__init__.py -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/pbkdf2.py -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/concatkdf.py -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/hkdf.py -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/kbkdf.py -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/scrypt.py -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/kdf
  creating build/lib.linux-x86_64-cpython-39/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/__init__.py -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/dh.py -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/rsa.py -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/hmac.py -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/dsa.py -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/ciphers.py -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/hashes.py -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/ec.py -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/poly1305.py -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/x25519.py -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/ed448.py -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/aead.py -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/ed25519.py -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/cmac.py -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/backend.py -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/x448.py -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/utils.py -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/backends/openssl
  creating build/lib.linux-x86_64-cpython-39/cryptography/hazmat/bindings/openssl
  copying src/cryptography/hazmat/bindings/openssl/__init__.py -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/bindings/openssl
  copying src/cryptography/hazmat/bindings/openssl/_conditional.py -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/bindings/openssl
  copying src/cryptography/hazmat/bindings/openssl/binding.py -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/bindings/openssl
  running egg_info
  writing src/cryptography.egg-info/PKG-INFO
  writing dependency_links to src/cryptography.egg-info/dependency_links.txt
  writing requirements to src/cryptography.egg-info/requires.txt
  writing top-level names to src/cryptography.egg-info/top_level.txt
  reading manifest file 'src/cryptography.egg-info/SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  no previously-included directories found matching 'docs/_build'
  warning: no previously-included files found matching 'vectors'
  warning: no previously-included files matching '*' found under directory 'vectors'
  warning: no previously-included files matching '*' found under directory '.github'
  warning: no previously-included files found matching 'release.py'
  warning: no previously-included files found matching '.readthedocs.yml'
  warning: no previously-included files found matching 'ci-constraints-requirements.txt'
  warning: no previously-included files found matching 'tox.ini'
  warning: no previously-included files found matching 'mypy.ini'
  adding license file 'LICENSE'
  adding license file 'LICENSE.APACHE'
  adding license file 'LICENSE.BSD'
  adding license file 'LICENSE.PSF'
  writing manifest file 'src/cryptography.egg-info/SOURCES.txt'
  /tmp/pip-build-env-y0g3wn81/overlay/lib/python3.9/site-packages/setuptools/command/build_py.py:215: _Warning: Package 'cryptography.hazmat.bindings._rust' is absent from the `packages` configuration.
  !!
  
          ********************************************************************************
          ############################
          # Package would be ignored #
          ############################
          Python recognizes 'cryptography.hazmat.bindings._rust' as an importable package[^1],
          but it is absent from setuptools' `packages` configuration.
  
          This leads to an ambiguous overall configuration. If you want to distribute this
          package, please make sure that 'cryptography.hazmat.bindings._rust' is explicitly added
          to the `packages` configuration field.
  
          Alternatively, you can also rely on setuptools' discovery methods
          (for example by using `find_namespace_packages(...)`/`find_namespace:`
          instead of `find_packages(...)`/`find:`).
  
          You can read more about "package discovery" on setuptools documentation page:
  
          - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
  
          If you don't want 'cryptography.hazmat.bindings._rust' to be distributed and are
          already explicitly excluding 'cryptography.hazmat.bindings._rust' via
          `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
          you can try to use `exclude_package_data`, or `include-package-data=False` in
          combination with a more fine grained `package-data` configuration.
  
          You can read more about "package data files" on setuptools documentation page:
  
          - https://setuptools.pypa.io/en/latest/userguide/datafiles.html
  
  
          [^1]: For Python, any directory (with suitable naming) can be imported,
                even if it does not contain any `.py` files.
                On the other hand, currently there is no concept of package data
                directory, all directories are treated like packages.
          ********************************************************************************
  
  !!
    check.warn(importable)
  copying src/cryptography/py.typed -> build/lib.linux-x86_64-cpython-39/cryptography
  copying src/cryptography/hazmat/bindings/_openssl.pyi -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/bindings
  creating build/lib.linux-x86_64-cpython-39/cryptography/hazmat/bindings/_rust
  copying src/cryptography/hazmat/bindings/_rust/__init__.pyi -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/bindings/_rust
  copying src/cryptography/hazmat/bindings/_rust/asn1.pyi -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/bindings/_rust
  copying src/cryptography/hazmat/bindings/_rust/ocsp.pyi -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/bindings/_rust
  copying src/cryptography/hazmat/bindings/_rust/pkcs7.pyi -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/bindings/_rust
  copying src/cryptography/hazmat/bindings/_rust/x509.pyi -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/bindings/_rust
  running build_ext
  generating cffi module 'build/temp.linux-x86_64-cpython-39/cryptography.hazmat.bindings._openssl.c'
  creating build/temp.linux-x86_64-cpython-39
  building 'cryptography.hazmat.bindings._openssl' extension
  creating build/temp.linux-x86_64-cpython-39/build/temp.linux-x86_64-cpython-39
  i686-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-hfHQKB/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -I/home/user/venv/include -I/usr/include/python3.9 -c build/temp.linux-x86_64-cpython-39/cryptography.hazmat.bindings._openssl.c -o build/temp.linux-x86_64-cpython-39/build/temp.linux-x86_64-cpython-39/cryptography.hazmat.bindings._openssl.o -Wconversion -Wno-error=sign-conversion
  build/temp.linux-x86_64-cpython-39/cryptography.hazmat.bindings._openssl.c:594:10: fatal error: openssl/opensslv.h: No such file or directory
    594 | #include <openssl/opensslv.h>
        |          ^~~~~~~~~~~~~~~~~~~~
  compilation terminated.
  Traceback (most recent call last):
    File "/tmp/pip-build-env-y0g3wn81/overlay/lib/python3.9/site-packages/setuptools/_distutils/spawn.py", line 83, in spawn
      subprocess.check_call(cmd, env=_inject_macos_ver(env))
    File "/usr/lib/python3.9/subprocess.py", line 373, in check_call
      raise CalledProcessError(retcode, cmd)
  subprocess.CalledProcessError: Command '['/usr/bin/i686-linux-gnu-gcc', '-pthread', '-Wno-unused-result', '-Wsign-compare', '-DNDEBUG', '-g', '-fwrapv', '-O2', '-Wall', '-g', '-ffile-prefix-map=/build/python3.9-hfHQKB/python3.9-3.9.2=.', '-fstack-protector-strong', '-Wformat', '-Werror=format-security', '-g', '-fwrapv', '-O2', '-fPIC', '-I/home/user/venv/include', '-I/usr/include/python3.9', '-c', 'build/temp.linux-x86_64-cpython-39/cryptography.hazmat.bindings._openssl.c', '-o', 'build/temp.linux-x86_64-cpython-39/build/temp.linux-x86_64-cpython-39/cryptography.hazmat.bindings._openssl.o', '-Wconversion', '-Wno-error=sign-conversion']' returned non-zero exit status 1.
  
  The above exception was the direct cause of the following exception:
  
  Traceback (most recent call last):
    File "/tmp/pip-build-env-y0g3wn81/overlay/lib/python3.9/site-packages/setuptools/_distutils/compilers/C/unix.py", line 221, in _compile
      self.spawn(compiler_so + cc_args + [src, '-o', obj] + extra_postargs)
    File "/tmp/pip-build-env-y0g3wn81/overlay/lib/python3.9/site-packages/setuptools/_distutils/compilers/C/base.py", line 1151, in spawn
      spawn(cmd, **kwargs)
    File "/tmp/pip-build-env-y0g3wn81/overlay/lib/python3.9/site-packages/setuptools/_distutils/spawn.py", line 89, in spawn
      raise DistutilsExecError(
  distutils.errors.DistutilsExecError: command '/usr/bin/i686-linux-gnu-gcc' failed with exit code 1
  
  During handling of the above exception, another exception occurred:
  
  Traceback (most recent call last):
    File "/tmp/pip-build-env-y0g3wn81/overlay/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 202, in run_commands
      dist.run_commands()
    File "/tmp/pip-build-env-y0g3wn81/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 1000, in run_commands
      self.run_command(cmd)
    File "/tmp/pip-build-env-y0g3wn81/overlay/lib/python3.9/site-packages/setuptools/dist.py", line 1107, in run_command
      super().run_command(command)
    File "/tmp/pip-build-env-y0g3wn81/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 1019, in run_command
      cmd_obj.run()
    File "/tmp/pip-build-env-y0g3wn81/overlay/lib/python3.9/site-packages/setuptools/command/bdist_wheel.py", line 370, in run
      self.run_command("build")
    File "/tmp/pip-build-env-y0g3wn81/overlay/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 341, in run_command
      self.distribution.run_command(command)
    File "/tmp/pip-build-env-y0g3wn81/overlay/lib/python3.9/site-packages/setuptools/dist.py", line 1107, in run_command
      super().run_command(command)
    File "/tmp/pip-build-env-y0g3wn81/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 1019, in run_command
      cmd_obj.run()
    File "/tmp/pip-build-env-y0g3wn81/overlay/lib/python3.9/site-packages/setuptools/_distutils/command/build.py", line 135, in run
      self.run_command(cmd_name)
    File "/tmp/pip-build-env-y0g3wn81/overlay/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 341, in run_command
      self.distribution.run_command(command)
    File "/tmp/pip-build-env-y0g3wn81/overlay/lib/python3.9/site-packages/setuptools/dist.py", line 1107, in run_command
      super().run_command(command)
    File "/tmp/pip-build-env-y0g3wn81/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 1019, in run_command
      cmd_obj.run()
    File "/tmp/pip-build-env-y0g3wn81/overlay/lib/python3.9/site-packages/setuptools_rust/setuptools_ext.py", line 177, in run
      super().run()
    File "/tmp/pip-build-env-y0g3wn81/overlay/lib/python3.9/site-packages/cffi/setuptools_ext.py", line 155, in run
      base_class.run(self)
    File "/tmp/pip-build-env-y0g3wn81/overlay/lib/python3.9/site-packages/setuptools/command/build_ext.py", line 97, in run
      _build_ext.run(self)
    File "/tmp/pip-build-env-y0g3wn81/overlay/lib/python3.9/site-packages/setuptools/_distutils/command/build_ext.py", line 367, in run
      self.build_extensions()
    File "/tmp/pip-build-env-y0g3wn81/overlay/lib/python3.9/site-packages/setuptools/_distutils/command/build_ext.py", line 483, in build_extensions
      self._build_extensions_serial()
    File "/tmp/pip-build-env-y0g3wn81/overlay/lib/python3.9/site-packages/setuptools/_distutils/command/build_ext.py", line 509, in _build_extensions_serial
      self.build_extension(ext)
    File "/tmp/pip-build-env-y0g3wn81/overlay/lib/python3.9/site-packages/setuptools/command/build_ext.py", line 262, in build_extension
      _build_ext.build_extension(self, ext)
    File "/tmp/pip-build-env-y0g3wn81/overlay/lib/python3.9/site-packages/setuptools/_distutils/command/build_ext.py", line 564, in build_extension
      objects = self.compiler.compile(
    File "/tmp/pip-build-env-y0g3wn81/overlay/lib/python3.9/site-packages/setuptools/_distutils/compilers/C/base.py", line 648, in compile
      self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
    File "/tmp/pip-build-env-y0g3wn81/overlay/lib/python3.9/site-packages/setuptools/_distutils/compilers/C/unix.py", line 223, in _compile
      raise CompileError(msg)
  distutils.compilers.C.errors.CompileError: command '/usr/bin/i686-linux-gnu-gcc' failed with exit code 1
  
  During handling of the above exception, another exception occurred:
  
  Traceback (most recent call last):
    File "<string>", line 48, in <module>
    File "/tmp/pip-build-env-y0g3wn81/overlay/lib/python3.9/site-packages/setuptools/__init__.py", line 117, in setup
      return distutils.core.setup(**attrs)  # type: ignore[return-value]
    File "/tmp/pip-build-env-y0g3wn81/overlay/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 186, in setup
      return run_commands(dist)
    File "/tmp/pip-build-env-y0g3wn81/overlay/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 216, in run_commands
      raise SystemExit("error: " + str(msg))
  SystemExit: error: command '/usr/bin/i686-linux-gnu-gcc' failed with exit code 1
  
  During handling of the above exception, another exception occurred:
  
  Traceback (most recent call last):
    File "/tmp/tmpuwwguizs_in_process.py", line 280, in <module>
      main()
    File "/tmp/tmpuwwguizs_in_process.py", line 263, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "/tmp/tmpuwwguizs_in_process.py", line 204, in build_wheel
      return _build_backend().build_wheel(wheel_directory, config_settings,
    File "/tmp/pip-build-env-y0g3wn81/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 441, in build_wheel
      return _build(['bdist_wheel', '--dist-info-dir', str(metadata_directory)])
    File "/tmp/pip-build-env-y0g3wn81/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 429, in _build
      return self._build_with_temp_dir(
    File "/tmp/pip-build-env-y0g3wn81/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 410, in _build_with_temp_dir
      self.run_setup()
    File "/tmp/pip-build-env-y0g3wn81/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 317, in run_setup
      exec(code, locals())
    File "<string>", line 76, in <module>
  ModuleNotFoundError: No module named 'pkg_resources'
  ----------------------------------------
  ERROR: Failed building wheel for cryptography
Failed to build cryptography
ERROR: Could not build wheels for cryptography which use PEP 517 and cannot be installed directly
(venv) user@raspberry:~ $