Python Discord bot crash in docker compose build - python

#0 269.1 Building wheel for msgpack (pyproject.toml): started
#0 316.2 Building wheel for msgpack (pyproject.toml): finished with status 'done'#0 316.3 Created wheel for msgpack: filename=msgpack-1.0.4-cp310-cp310-linux_aarch64.whl size=278121 sha256=be03c6aae5170c477fbe02a702af8c4c22b3cfd183182a500af39a0e15a1c769
#0 316.3 Stored in directory: /tmp/pip-ephem-wheel-cache-agknabbn/wheels/f2/0c/10/b02c67e6e1bc1e41184dc9e588bc5aef0e2227de8e92aae110
#0 316.3 Building wheel for cryptography (pyproject.toml): started
#0 328.0 Building wheel for cryptography (pyproject.toml): finished with status 'error'
#0 328.3 error: subprocess-exited-with-error
#0 328.3
#0 328.3 × Building wheel for cryptography (pyproject.toml) did not run successfully.
#0 328.3 │ exit code: 1
#0 328.3 ╰─> [192 lines of output]
#0 328.3 running bdist_wheel
#0 328.3 running build
#0 328.3 running build_py
#0 328.3 creating build
#0 328.3 creating build/lib.linux-aarch64-cpython-310
#0 328.3 creating build/lib.linux-aarch64-cpython-310/cryptography
#0 328.3 copying src/cryptography/fernet.py -> build/lib.linux-aarch64-cpython-310/cryptography
#0 328.3 copying src/cryptography/exceptions.py -> build/lib.linux-aarch64-cpython-310/cryptography
#0 328.3 copying src/cryptography/__about__.py -> build/lib.linux-aarch64-cpython-310/cryptography
#0 328.3 copying src/cryptography/__init__.py -> build/lib.linux-aarch64-cpython-310/cryptography
#0 328.3 copying src/cryptography/utils.py -> build/lib.linux-aarch64-cpython-310/cryptography
#0 328.3 creating build/lib.linux-aarch64-cpython-310/cryptography/x509
#0 328.3 copying src/cryptography/x509/oid.py -> build/lib.linux-aarch64-cpython-310/cryptography/x509
#0 328.3 copying src/cryptography/x509/__init__.py -> build/lib.linux-aarch64-cpython-310/cryptography/x509
#0 328.3 copying src/cryptography/x509/general_name.py -> build/lib.linux-aarch64-cpython-310/cryptography/x509
#0 328.3 copying src/cryptography/x509/certificate_transparency.py -> build/lib.linux-aarch64-cpython-310/cryptography/x509
#0 328.3 copying src/cryptography/x509/extensions.py -> build/lib.linux-aarch64-cpython-310/cryptography/x509
#0 328.3 copying src/cryptography/x509/ocsp.py -> build/lib.linux-aarch64-cpython-310/cryptography/x509
#0 328.3 copying src/cryptography/x509/name.py -> build/lib.linux-aarch64-cpython-310/cryptography/x509
#0 328.3 copying src/cryptography/x509/base.py -> build/lib.linux-aarch64-cpython-310/cryptography/x509
#0 328.3 creating build/lib.linux-aarch64-cpython-310/cryptography/hazmat
#0 328.3 copying src/cryptography/hazmat/_oid.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat
#0 328.3 copying src/cryptography/hazmat/__init__.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat
#0 328.3 creating build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends
#0 328.3 copying src/cryptography/hazmat/backends/__init__.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends
#0 328.3 creating build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives
#0 328.3 copying src/cryptography/hazmat/primitives/_serialization.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives
#0 328.3 copying src/cryptography/hazmat/primitives/hashes.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives
#0 328.3 copying src/cryptography/hazmat/primitives/_cipheralgorithm.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives
#0 328.3 copying src/cryptography/hazmat/primitives/hmac.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives
#0 328.3 copying src/cryptography/hazmat/primitives/__init__.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives
#0 328.3 copying src/cryptography/hazmat/primitives/_asymmetric.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives
#0 328.3 copying src/cryptography/hazmat/primitives/cmac.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives
#0 328.3 copying src/cryptography/hazmat/primitives/padding.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives
#0 328.3 copying src/cryptography/hazmat/primitives/keywrap.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives
#0 328.3 copying src/cryptography/hazmat/primitives/poly1305.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives
#0 328.3 copying src/cryptography/hazmat/primitives/constant_time.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives
#0 328.3 creating build/lib.linux-aarch64-cpython-310/cryptography/hazmat/bindings
#0 328.3 copying src/cryptography/hazmat/bindings/__init__.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/bindings
#0 328.3 creating build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
#0 328.3 copying src/cryptography/hazmat/backends/openssl/ed448.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
#0 328.3 copying src/cryptography/hazmat/backends/openssl/dsa.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
#0 328.3 copying src/cryptography/hazmat/backends/openssl/hashes.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
#0 328.3 copying src/cryptography/hazmat/backends/openssl/dh.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
#0 328.3 copying src/cryptography/hazmat/backends/openssl/backend.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
#0 328.3 copying src/cryptography/hazmat/backends/openssl/aead.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
#0 328.3 copying src/cryptography/hazmat/backends/openssl/hmac.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
#0 328.3 copying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
#0 328.3 copying src/cryptography/hazmat/backends/openssl/__init__.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
#0 328.3 copying src/cryptography/hazmat/backends/openssl/x25519.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
#0 328.3 copying src/cryptography/hazmat/backends/openssl/rsa.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
#0 328.3 copying src/cryptography/hazmat/backends/openssl/x448.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
#0 328.3 copying src/cryptography/hazmat/backends/openssl/ciphers.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
#0 328.3 copying src/cryptography/hazmat/backends/openssl/cmac.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
#0 328.3 copying src/cryptography/hazmat/backends/openssl/ec.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
#0 328.3 copying src/cryptography/hazmat/backends/openssl/ed25519.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
#0 328.3 copying src/cryptography/hazmat/backends/openssl/utils.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
#0 328.3 copying src/cryptography/hazmat/backends/openssl/poly1305.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/backends/openssl
#0 328.3 creating build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/serialization
#0 328.3 copying src/cryptography/hazmat/primitives/serialization/ssh.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/serialization
#0 328.3 copying src/cryptography/hazmat/primitives/serialization/__init__.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/serialization
#0 328.3 copying src/cryptography/hazmat/primitives/serialization/pkcs7.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/serialization
#0 328.3 copying src/cryptography/hazmat/primitives/serialization/base.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/serialization
#0 328.3 copying src/cryptography/hazmat/primitives/serialization/pkcs12.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/serialization
#0 328.3 creating build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/twofactor
#0 328.3 copying src/cryptography/hazmat/primitives/twofactor/totp.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/twofactor
#0 328.3 copying src/cryptography/hazmat/primitives/twofactor/__init__.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/twofactor
#0 328.3 copying src/cryptography/hazmat/primitives/twofactor/hotp.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/twofactor
#0 328.3 creating build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/kdf
#0 328.3 copying src/cryptography/hazmat/primitives/kdf/scrypt.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/kdf
#0 328.3 copying src/cryptography/hazmat/primitives/kdf/kbkdf.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/kdf
#0 328.3 copying src/cryptography/hazmat/primitives/kdf/pbkdf2.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/kdf
#0 328.3 copying src/cryptography/hazmat/primitives/kdf/hkdf.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/kdf
#0 328.3 copying src/cryptography/hazmat/primitives/kdf/__init__.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/kdf
#0 328.3 copying src/cryptography/hazmat/primitives/kdf/concatkdf.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/kdf
#0 328.3 copying src/cryptography/hazmat/primitives/kdf/x963kdf.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/kdf
#0 328.3 creating build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/ciphers
#0 328.3 copying src/cryptography/hazmat/primitives/ciphers/modes.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/ciphers
#0 328.3 copying src/cryptography/hazmat/primitives/ciphers/aead.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/ciphers
#0 328.3 copying src/cryptography/hazmat/primitives/ciphers/__init__.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/ciphers
#0 328.3 copying src/cryptography/hazmat/primitives/ciphers/algorithms.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/ciphers
#0 328.3 copying src/cryptography/hazmat/primitives/ciphers/base.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/ciphers
#0 328.3 creating build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/asymmetric
#0 328.3 copying src/cryptography/hazmat/primitives/asymmetric/ed448.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/asymmetric
#0 328.3 copying src/cryptography/hazmat/primitives/asymmetric/dsa.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/asymmetric
#0 328.3 copying src/cryptography/hazmat/primitives/asymmetric/dh.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/asymmetric
#0 328.3 copying src/cryptography/hazmat/primitives/asymmetric/__init__.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/asymmetric
#0 328.3 copying src/cryptography/hazmat/primitives/asymmetric/x25519.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/asymmetric
#0 328.3 copying src/cryptography/hazmat/primitives/asymmetric/rsa.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/asymmetric
#0 328.3 copying src/cryptography/hazmat/primitives/asymmetric/x448.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/asymmetric
#0 328.3 copying src/cryptography/hazmat/primitives/asymmetric/types.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/asymmetric
#0 328.3 copying src/cryptography/hazmat/primitives/asymmetric/ec.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/asymmetric
#0 328.3 copying src/cryptography/hazmat/primitives/asymmetric/ed25519.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/asymmetric
#0 328.3 copying src/cryptography/hazmat/primitives/asymmetric/padding.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/asymmetric
#0 328.3 copying src/cryptography/hazmat/primitives/asymmetric/utils.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/primitives/asymmetric
#0 328.3 creating build/lib.linux-aarch64-cpython-310/cryptography/hazmat/bindings/openssl
#0 328.3 copying src/cryptography/hazmat/bindings/openssl/binding.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/bindings/openssl
#0 328.3 copying src/cryptography/hazmat/bindings/openssl/__init__.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/bindings/openssl
#0 328.3 copying src/cryptography/hazmat/bindings/openssl/_conditional.py -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/bindings/openssl
#0 328.3 running egg_info
#0 328.3 writing src/cryptography.egg-info/PKG-INFO
#0 328.3 writing dependency_links to src/cryptography.egg-info/dependency_links.txt
#0 328.3 writing requirements to src/cryptography.egg-info/requires.txt
#0 328.3 writing top-level names to src/cryptography.egg-info/top_level.txt
#0 328.3 reading manifest file 'src/cryptography.egg-info/SOURCES.txt'
#0 328.3 reading manifest template 'MANIFEST.in'
#0 328.3 no previously-included directories found matching 'docs/_build'
#0 328.3 warning: no previously-included files found matching 'vectors'
#0 328.3 warning: no previously-included files matching '*' found under directory 'vectors'
#0 328.3 warning: no previously-included files matching '*' found under directory '.github'
#0 328.3 warning: no previously-included files found matching 'release.py'
#0 328.3 warning: no previously-included files found matching '.readthedocs.yml'
#0 328.3 warning: no previously-included files found matching 'ci-constraints-requirements.txt'
#0 328.3 warning: no previously-included files found matching 'tox.ini'
#0 328.3 warning: no previously-included files found matching 'mypy.ini'
#0 328.3 adding license file 'LICENSE'
#0 328.3 adding license file 'LICENSE.APACHE'
#0 328.3 adding license file 'LICENSE.BSD'
#0 328.3 adding license file 'LICENSE.PSF'
#0 328.3 writing manifest file 'src/cryptography.egg-info/SOURCES.txt'
#0 328.3 /tmp/pip-build-env-bfyesg7e/overlay/lib/python3.10/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'cryptography.hazmat.bindings._rust' as data is deprecated, please list it in `packages`.
#0 328.3 !!
#0 328.3
#0 328.3
#0 328.3 ############################
#0 328.3 # Package would be ignored #
#0 328.3 ############################
#0 328.3 Python recognizes 'cryptography.hazmat.bindings._rust' as an importable package,
#0 328.3 but it is not listed in the `packages` configuration of setuptools.
#0 328.3
#0 328.3 'cryptography.hazmat.bindings._rust' has been automatically added to the distribution only
#0 328.3 because it may contain data files, but this behavior is likely to change
#0 328.3 in future versions of setuptools (and therefore is considered deprecated).
#0 328.3
#0 328.3 Please make sure that 'cryptography.hazmat.bindings._rust' is included as a package by using
#0 328.3 the `packages` configuration field or the proper discovery methods
#0 328.3 (for example by using `find_namespace_packages(...)`/`find_namespace:`
#0 328.3 instead of `find_packages(...)`/`find:`).
#0 328.3
#0 328.3 You can read more about "package discovery" and "data files" on setuptools
#0 328.3 documentation page.
#0 328.3
#0 328.3
#0 328.3 !!
#0 328.3
#0 328.3 check.warn(importable)
#0 328.3 copying src/cryptography/py.typed -> build/lib.linux-aarch64-cpython-310/cryptography
#0 328.3 copying src/cryptography/hazmat/bindings/_openssl.pyi -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/bindings
#0 328.3 creating build/lib.linux-aarch64-cpython-310/cryptography/hazmat/bindings/_rust
#0 328.3 copying src/cryptography/hazmat/bindings/_rust/__init__.pyi -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/bindings/_rust
#0 328.3 copying src/cryptography/hazmat/bindings/_rust/asn1.pyi -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/bindings/_rust
#0 328.3 copying src/cryptography/hazmat/bindings/_rust/ocsp.pyi -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/bindings/_rust
#0 328.3 copying src/cryptography/hazmat/bindings/_rust/pkcs7.pyi -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/bindings/_rust
#0 328.3 copying src/cryptography/hazmat/bindings/_rust/x509.pyi -> build/lib.linux-aarch64-cpython-310/cryptography/hazmat/bindings/_rust
#0 328.3 running build_ext
#0 328.3 generating cffi module 'build/temp.linux-aarch64-cpython-310/cryptography.hazmat.bindings._openssl.c'
#0 328.3 creating build/temp.linux-aarch64-cpython-310
#0 328.3 running build_rust
#0 328.3
#0 328.3 =============================DEBUG ASSISTANCE=============================
#0 328.3 If you are seeing a compilation error please try the following steps to
#0 328.3 successfully install cryptography:
#0 328.3 1) Upgrade to the latest pip and try again. This will fix errors for most
#0 328.3 users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
#0 328.3 2) Read https://cryptography.io/en/latest/installation/ for specific
#0 328.3 instructions for your platform.
#0 328.3 3) Check our frequently asked questions for more information:
#0 328.3 https://cryptography.io/en/latest/faq/
#0 328.3 4) Ensure you have a recent Rust toolchain installed:
#0 328.3 https://cryptography.io/en/latest/installation/#rust
#0 328.3
#0 328.3 Python: 3.10.10
#0 328.3 platform: Linux-5.15.61-v8+-aarch64-with-glibc2.28
#0 328.3 pip: n/a
#0 328.3 setuptools: 67.3.2
#0 328.3 setuptools_rust: 1.5.2
#0 328.3 rustc: n/a
#0 328.3 =============================DEBUG ASSISTANCE=============================
#0 328.3
#0 328.3 error: can't find Rust compiler
#0 328.3
#0 328.3 If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler.
#0 328.3
#0 328.3 To update pip, run:
#0 328.3
#0 328.3 pip install --upgrade pip
#0 328.3
#0 328.3 and then retry package installation.
#0 328.3
#0 328.3 If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain.
#0 328.3
#0 328.3 This package requires Rust >=1.48.0.
#0 328.3 [end of output]
#0 328.3
#0 328.3 note: This error originates from a subprocess, and is likely not a problem with pip.
#0 328.3 ERROR: Failed building wheel for cryptography
#0 328.3 Building wheel for cffi (setup.py): started
#0 380.7 Building wheel for cffi (setup.py): finished with status 'done'
#0 380.8 Created wheel for cffi: filename=cffi-1.15.1-cp310-cp310-linux_aarch64.whl size=399509 sha256=7ff7f38b14379fb3df99331b0b45c781541f6442a591bc5581894f24643ec4eb
#0 380.8 Stored in directory: /tmp/pip-ephem-wheel-cache-agknabbn/wheels/ad/fd/0d/a399a07e390eb40973817d4a6244fc9f28579961c243ffcfa5
#0 380.8 Successfully built dulwich msgpack cffi
#0 380.8 Failed to build cryptography
#0 380.8 ERROR: Could not build wheels for cryptography, which is required to install pyproject.toml-based projects
------
failed to solve: process "/bin/sh -c pip install poetry==1.2.2" did not complete successfully: exit code: 1
Anyone nows how to fix this?
I already have installed rust and pip, but still get problems.
I try to start the ballsdex bot(github) on an linux debian Rasberry pi 3.
I still hav to write something like this you can open an der Rasbeery pi 3 b oder der Sache zum Zeitpunkt des Widerrufs oder der Sache zum Zeitpunkt

Related

I am unable to install wordcloud getting the below error. my pip is updated and python version is 3.9 please help. Also I installed visual builder

Building wheel for wordcloud (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [20 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-3.9
creating build\lib.win-amd64-3.9\wordcloud
copying wordcloud\color_from_image.py -> build\lib.win-amd64-3.9\wordcloud
copying wordcloud\tokenization.py -> build\lib.win-amd64-3.9\wordcloud
copying wordcloud\wordcloud.py -> build\lib.win-amd64-3.9\wordcloud
copying wordcloud\wordcloud_cli.py -> build\lib.win-amd64-3.9\wordcloud
copying wordcloud_version.py -> build\lib.win-amd64-3.9\wordcloud
copying wordcloud_init_.py -> build\lib.win-amd64-3.9\wordcloud
copying wordcloud_main_.py -> build\lib.win-amd64-3.9\wordcloud
copying wordcloud\stopwords -> build\lib.win-amd64-3.9\wordcloud
copying wordcloud\DroidSansMono.ttf -> build\lib.win-amd64-3.9\wordcloud
UPDATING build\lib.win-amd64-3.9\wordcloud/_version.py
set build\lib.win-amd64-3.9\wordcloud/_version.py to '1.8.1'
running build_ext
building 'wordcloud.query_integral_image' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for wordcloud
Running setup.py clean for wordcloud
Failed to build wordcloud
Installing collected packages: wordcloud
Running setup.py install for wordcloud ... error
error: subprocess-exited-with-error
× Running setup.py install for wordcloud did not run successfully.
│ exit code: 1
╰─> [20 lines of output]
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.9
creating build\lib.win-amd64-3.9\wordcloud
copying wordcloud\color_from_image.py -> build\lib.win-amd64-3.9\wordcloud
copying wordcloud\tokenization.py -> build\lib.win-amd64-3.9\wordcloud
copying wordcloud\wordcloud.py -> build\lib.win-amd64-3.9\wordcloud
copying wordcloud\wordcloud_cli.py -> build\lib.win-amd64-3.9\wordcloud
copying wordcloud_version.py -> build\lib.win-amd64-3.9\wordcloud
copying wordcloud_init_.py -> build\lib.win-amd64-3.9\wordcloud
copying wordcloud_main_.py -> build\lib.win-amd64-3.9\wordcloud
copying wordcloud\stopwords -> build\lib.win-amd64-3.9\wordcloud
copying wordcloud\DroidSansMono.ttf -> build\lib.win-amd64-3.9\wordcloud
UPDATING build\lib.win-amd64-3.9\wordcloud/_version.py
set build\lib.win-amd64-3.9\wordcloud/_version.py to '1.8.1'
running build_ext
building 'wordcloud.query_integral_image' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> wordcloud
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.

Legacy install failure - error while installing greenlet on python 3.9.10

I'm trying to install sqlalchemy, which requires the package greenlet to be installed. Can someone tell me what is producing the error?
I'm using Pycharm with venv environment, I have tried installing it with --force command but it gives the same error.
The pip version is 22.0.4, if I try installing it on pip version 21.3.1, it generates a different error log
My wheel is already up to date
Here's the error report =>
Collecting greenlet
Downloading greenlet-1.1.2.tar.gz (91 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 91.2/91.2 KB 5.1 MB/s eta 0:00:00
Preparing metadata (setup.py) ... done
Building wheels for collected packages: greenlet
Building wheel for greenlet (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [72 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build\lib.mingw_x86_64-cpython-39
creating build\lib.mingw_x86_64-cpython-39\greenlet
copying src\greenlet\__init__.py -> build\lib.mingw_x86_64-cpython-39\greenlet
creating build\lib.mingw_x86_64-cpython-39\greenlet\tests
copying src\greenlet\tests\test_contextvars.py -> build\lib.mingw_x86_64-cpython-39\greenlet\tests
copying src\greenlet\tests\test_cpp.py -> build\lib.mingw_x86_64-cpython-39\greenlet\tests
copying src\greenlet\tests\test_extension_interface.py -> build\lib.mingw_x86_64-cpython-39\greenlet\tests
copying src\greenlet\tests\test_gc.py -> build\lib.mingw_x86_64-cpython-39\greenlet\tests
copying src\greenlet\tests\test_generator.py -> build\lib.mingw_x86_64-cpython-39\greenlet\tests
copying src\greenlet\tests\test_generator_nested.py -> build\lib.mingw_x86_64-cpython-39\greenlet\tests
copying src\greenlet\tests\test_greenlet.py -> build\lib.mingw_x86_64-cpython-39\greenlet\tests
copying src\greenlet\tests\test_leaks.py -> build\lib.mingw_x86_64-cpython-39\greenlet\tests
copying src\greenlet\tests\test_stack_saved.py -> build\lib.mingw_x86_64-cpython-39\greenlet\tests
copying src\greenlet\tests\test_throw.py -> build\lib.mingw_x86_64-cpython-39\greenlet\tests
copying src\greenlet\tests\test_tracing.py -> build\lib.mingw_x86_64-cpython-39\greenlet\tests
copying src\greenlet\tests\test_version.py -> build\lib.mingw_x86_64-cpython-39\greenlet\tests
copying src\greenlet\tests\test_weakref.py -> build\lib.mingw_x86_64-cpython-39\greenlet\tests
copying src\greenlet\tests\__init__.py -> build\lib.mingw_x86_64-cpython-39\greenlet\tests
running egg_info
writing src\greenlet.egg-info\PKG-INFO
writing dependency_links to src\greenlet.egg-info\dependency_links.txt
writing requirements to src\greenlet.egg-info\requires.txt
writing top-level names to src\greenlet.egg-info\top_level.txt
reading manifest file 'src\greenlet.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'docs\_build'
warning: no files found matching '*.py' under directory 'appveyor'
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.pyd' found anywhere in distribution
warning: no previously-included files matching '*.so' found anywhere in distribution
warning: no previously-included files matching '.coverage' found anywhere in distribution
adding license file 'LICENSE'
adding license file 'LICENSE.PSF'
adding license file 'AUTHORS'
writing manifest file 'src\greenlet.egg-info\SOURCES.txt'
copying src\greenlet\greenlet.c -> build\lib.mingw_x86_64-cpython-39\greenlet
copying src\greenlet\greenlet.h -> build\lib.mingw_x86_64-cpython-39\greenlet
copying src\greenlet\slp_platformselect.h -> build\lib.mingw_x86_64-cpython-39\greenlet
creating build\lib.mingw_x86_64-cpython-39\greenlet\platform
copying src\greenlet\platform\setup_switch_x64_masm.cmd -> build\lib.mingw_x86_64-cpython-39\greenlet\platform
copying src\greenlet\platform\switch_aarch64_gcc.h -> build\lib.mingw_x86_64-cpython-39\greenlet\platform
copying src\greenlet\platform\switch_alpha_unix.h -> build\lib.mingw_x86_64-cpython-39\greenlet\platform
copying src\greenlet\platform\switch_amd64_unix.h -> build\lib.mingw_x86_64-cpython-39\greenlet\platform
copying src\greenlet\platform\switch_arm32_gcc.h -> build\lib.mingw_x86_64-cpython-39\greenlet\platform
copying src\greenlet\platform\switch_arm32_ios.h -> build\lib.mingw_x86_64-cpython-39\greenlet\platform
copying src\greenlet\platform\switch_csky_gcc.h -> build\lib.mingw_x86_64-cpython-39\greenlet\platform
copying src\greenlet\platform\switch_m68k_gcc.h -> build\lib.mingw_x86_64-cpython-39\greenlet\platform
copying src\greenlet\platform\switch_mips_unix.h -> build\lib.mingw_x86_64-cpython-39\greenlet\platform
copying src\greenlet\platform\switch_ppc64_aix.h -> build\lib.mingw_x86_64-cpython-39\greenlet\platform
copying src\greenlet\platform\switch_ppc64_linux.h -> build\lib.mingw_x86_64-cpython-39\greenlet\platform
copying src\greenlet\platform\switch_ppc_aix.h -> build\lib.mingw_x86_64-cpython-39\greenlet\platform
copying src\greenlet\platform\switch_ppc_linux.h -> build\lib.mingw_x86_64-cpython-39\greenlet\platform
copying src\greenlet\platform\switch_ppc_macosx.h -> build\lib.mingw_x86_64-cpython-39\greenlet\platform
copying src\greenlet\platform\switch_ppc_unix.h -> build\lib.mingw_x86_64-cpython-39\greenlet\platform
copying src\greenlet\platform\switch_riscv_unix.h -> build\lib.mingw_x86_64-cpython-39\greenlet\platform
copying src\greenlet\platform\switch_s390_unix.h -> build\lib.mingw_x86_64-cpython-39\greenlet\platform
copying src\greenlet\platform\switch_sparc_sun_gcc.h -> build\lib.mingw_x86_64-cpython-39\greenlet\platform
copying src\greenlet\platform\switch_x32_unix.h -> build\lib.mingw_x86_64-cpython-39\greenlet\platform
copying src\greenlet\platform\switch_x64_masm.asm -> build\lib.mingw_x86_64-cpython-39\greenlet\platform
copying src\greenlet\platform\switch_x64_masm.obj -> build\lib.mingw_x86_64-cpython-39\greenlet\platform
copying src\greenlet\platform\switch_x64_msvc.h -> build\lib.mingw_x86_64-cpython-39\greenlet\platform
copying src\greenlet\platform\switch_x86_msvc.h -> build\lib.mingw_x86_64-cpython-39\greenlet\platform
copying src\greenlet\platform\switch_x86_unix.h -> build\lib.mingw_x86_64-cpython-39\greenlet\platform
copying src\greenlet\tests\_test_extension.c -> build\lib.mingw_x86_64-cpython-39\greenlet\tests
copying src\greenlet\tests\_test_extension_cpp.cpp -> build\lib.mingw_x86_64-cpython-39\greenlet\tests
running build_ext
building 'greenlet._greenlet' extension
error: --plat-name must be one of ('win32', 'win-amd64', 'win-arm32', 'win-arm64')
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for greenlet
Running setup.py clean for greenlet
Failed to build greenlet
Installing collected packages: greenlet
Running setup.py install for greenlet ... error
error: subprocess-exited-with-error
× Running setup.py install for greenlet did not run successfully.
│ exit code: 1
╰─> [74 lines of output]
running install
E:\Programming\flaskCRUD\venv\lib\python3.9\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and ot
her standards-based tools.
warnings.warn(
running build
running build_py
creating build
creating build\lib.mingw_x86_64-cpython-39
creating build\lib.mingw_x86_64-cpython-39\greenlet
copying src\greenlet\__init__.py -> build\lib.mingw_x86_64-cpython-39\greenlet
creating build\lib.mingw_x86_64-cpython-39\greenlet\tests
copying src\greenlet\tests\test_contextvars.py -> build\lib.mingw_x86_64-cpython-39\greenlet\tests
copying src\greenlet\tests\test_cpp.py -> build\lib.mingw_x86_64-cpython-39\greenlet\tests
copying src\greenlet\tests\test_extension_interface.py -> build\lib.mingw_x86_64-cpython-39\greenlet\tests
copying src\greenlet\tests\test_gc.py -> build\lib.mingw_x86_64-cpython-39\greenlet\tests
copying src\greenlet\tests\test_generator.py -> build\lib.mingw_x86_64-cpython-39\greenlet\tests
copying src\greenlet\tests\test_generator_nested.py -> build\lib.mingw_x86_64-cpython-39\greenlet\tests
copying src\greenlet\tests\test_greenlet.py -> build\lib.mingw_x86_64-cpython-39\greenlet\tests
copying src\greenlet\tests\test_leaks.py -> build\lib.mingw_x86_64-cpython-39\greenlet\tests
copying src\greenlet\tests\test_stack_saved.py -> build\lib.mingw_x86_64-cpython-39\greenlet\tests
copying src\greenlet\tests\test_throw.py -> build\lib.mingw_x86_64-cpython-39\greenlet\tests
copying src\greenlet\tests\test_tracing.py -> build\lib.mingw_x86_64-cpython-39\greenlet\tests
copying src\greenlet\tests\test_version.py -> build\lib.mingw_x86_64-cpython-39\greenlet\tests
copying src\greenlet\tests\test_weakref.py -> build\lib.mingw_x86_64-cpython-39\greenlet\tests
copying src\greenlet\tests\__init__.py -> build\lib.mingw_x86_64-cpython-39\greenlet\tests
running egg_info
writing src\greenlet.egg-info\PKG-INFO
writing dependency_links to src\greenlet.egg-info\dependency_links.txt
writing requirements to src\greenlet.egg-info\requires.txt
writing top-level names to src\greenlet.egg-info\top_level.txt
reading manifest file 'src\greenlet.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'docs\_build'
warning: no files found matching '*.py' under directory 'appveyor'
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.pyd' found anywhere in distribution
warning: no previously-included files matching '*.so' found anywhere in distribution
warning: no previously-included files matching '.coverage' found anywhere in distribution
adding license file 'LICENSE'
adding license file 'LICENSE.PSF'
adding license file 'AUTHORS'
writing manifest file 'src\greenlet.egg-info\SOURCES.txt'
copying src\greenlet\greenlet.c -> build\lib.mingw_x86_64-cpython-39\greenlet
copying src\greenlet\greenlet.h -> build\lib.mingw_x86_64-cpython-39\greenlet
copying src\greenlet\slp_platformselect.h -> build\lib.mingw_x86_64-cpython-39\greenlet
creating build\lib.mingw_x86_64-cpython-39\greenlet\platform
copying src\greenlet\platform\setup_switch_x64_masm.cmd -> build\lib.mingw_x86_64-cpython-39\greenlet\platform
copying src\greenlet\platform\switch_aarch64_gcc.h -> build\lib.mingw_x86_64-cpython-39\greenlet\platform
copying src\greenlet\platform\switch_alpha_unix.h -> build\lib.mingw_x86_64-cpython-39\greenlet\platform
copying src\greenlet\platform\switch_amd64_unix.h -> build\lib.mingw_x86_64-cpython-39\greenlet\platform
copying src\greenlet\platform\switch_arm32_gcc.h -> build\lib.mingw_x86_64-cpython-39\greenlet\platform
copying src\greenlet\platform\switch_arm32_ios.h -> build\lib.mingw_x86_64-cpython-39\greenlet\platform
copying src\greenlet\platform\switch_csky_gcc.h -> build\lib.mingw_x86_64-cpython-39\greenlet\platform
copying src\greenlet\platform\switch_m68k_gcc.h -> build\lib.mingw_x86_64-cpython-39\greenlet\platform
copying src\greenlet\platform\switch_mips_unix.h -> build\lib.mingw_x86_64-cpython-39\greenlet\platform
copying src\greenlet\platform\switch_ppc64_aix.h -> build\lib.mingw_x86_64-cpython-39\greenlet\platform
copying src\greenlet\platform\switch_ppc64_linux.h -> build\lib.mingw_x86_64-cpython-39\greenlet\platform
copying src\greenlet\platform\switch_ppc_aix.h -> build\lib.mingw_x86_64-cpython-39\greenlet\platform
copying src\greenlet\platform\switch_ppc_linux.h -> build\lib.mingw_x86_64-cpython-39\greenlet\platform
copying src\greenlet\platform\switch_ppc_macosx.h -> build\lib.mingw_x86_64-cpython-39\greenlet\platform
copying src\greenlet\platform\switch_ppc_unix.h -> build\lib.mingw_x86_64-cpython-39\greenlet\platform
copying src\greenlet\platform\switch_riscv_unix.h -> build\lib.mingw_x86_64-cpython-39\greenlet\platform
copying src\greenlet\platform\switch_s390_unix.h -> build\lib.mingw_x86_64-cpython-39\greenlet\platform
copying src\greenlet\platform\switch_sparc_sun_gcc.h -> build\lib.mingw_x86_64-cpython-39\greenlet\platform
copying src\greenlet\platform\switch_x32_unix.h -> build\lib.mingw_x86_64-cpython-39\greenlet\platform
copying src\greenlet\platform\switch_x64_masm.asm -> build\lib.mingw_x86_64-cpython-39\greenlet\platform
copying src\greenlet\platform\switch_x64_masm.obj -> build\lib.mingw_x86_64-cpython-39\greenlet\platform
copying src\greenlet\platform\switch_x64_msvc.h -> build\lib.mingw_x86_64-cpython-39\greenlet\platform
copying src\greenlet\platform\switch_x86_msvc.h -> build\lib.mingw_x86_64-cpython-39\greenlet\platform
copying src\greenlet\platform\switch_x86_unix.h -> build\lib.mingw_x86_64-cpython-39\greenlet\platform
copying src\greenlet\tests\_test_extension.c -> build\lib.mingw_x86_64-cpython-39\greenlet\tests
copying src\greenlet\tests\_test_extension_cpp.cpp -> build\lib.mingw_x86_64-cpython-39\greenlet\tests
running build_ext
building 'greenlet._greenlet' extension
error: --plat-name must be one of ('win32', 'win-amd64', 'win-arm32', 'win-arm64')
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> greenlet
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.

How do I install aiogram on raspberry pi with python version 3.11 (python pre-assembled and installed)?

How do I install aiogram on raspberry pi with python version 3.11 (python pre-assembled and installed)?
On the standard version 3.7.3 everything is error-free.
When trying to set airogram
python3 --version
Python 3.11.0a6+
pip --version
pip 22.0.4 from /home/pi/.local/lib/python3.11/site-packages/pip (python 3.11)
The platform is raspberry pi
pi#raspberrypi:~/Desktop/network_folder/bot_2021_2semestr $ pip3.11 install aiog ram
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting aiogram
Using cached https://www.piwheels.org/simple/aiogram/aiogram-2.19-py3-none-any .whl (187 kB)
Collecting aiohttp<3.9.0,>=3.8.0
Using cached aiohttp-3.8.1.tar.gz (7.3 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Collecting Babel<2.10.0,>=2.9.1
Using cached https://www.piwheels.org/simple/babel/Babel-2.9.1-py2.py3-none-an y.whl (8.8 MB)
Collecting certifi>=2021.10.8
Using cached https://www.piwheels.org/simple/certifi/certifi-2021.10.8-py2.py3 -none-any.whl (151 kB)
Collecting multidict<7.0,>=4.5
Using cached multidict-6.0.2-cp311-cp311-linux_armv7l.whl
Collecting charset-normalizer<3.0,>=2.0
Using cached https://www.piwheels.org/simple/charset-normalizer/charset_normal izer-2.0.12-py3-none-any.whl (44 kB)
Collecting async-timeout<5.0,>=4.0.0a3
Using cached https://www.piwheels.org/simple/async-timeout/async_timeout-4.0.2 -py3-none-any.whl (5.8 kB)
Collecting frozenlist>=1.1.1
Using cached frozenlist-1.3.0.tar.gz (65 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting aiosignal>=1.1.2
Using cached https://www.piwheels.org/simple/aiosignal/aiosignal-1.2.0-py3-non e-any.whl (8.2 kB)
Collecting attrs>=17.3.0
Using cached https://www.piwheels.org/simple/attrs/attrs-21.4.0-py2.py3-none-a ny.whl (60 kB)
Collecting yarl<2.0,>=1.0
Using cached yarl-1.7.2.tar.gz (168 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting pytz>=2015.7
Using cached https://www.piwheels.org/simple/pytz/pytz-2021.3-py3-none-any.whl (511 kB)
Collecting idna>=2.0
Using cached https://www.piwheels.org/simple/idna/idna-3.3-py3-none-any.whl (6 4 kB)
Building wheels for collected packages: aiohttp, frozenlist, yarl
Building wheel for aiohttp (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for aiohttp (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [107 lines of output]
*********************
* Accelerated build *
*********************
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-armv7l-3.11
creating build/lib.linux-armv7l-3.11/aiohttp
copying aiohttp/typedefs.py -> build/lib.linux-armv7l-3.11/aiohttp
copying aiohttp/web_server.py -> build/lib.linux-armv7l-3.11/aiohttp
copying aiohttp/helpers.py -> build/lib.linux-armv7l-3.11/aiohttp
copying aiohttp/web_exceptions.py -> build/lib.linux-armv7l-3.11/aiohttp
copying aiohttp/locks.py -> build/lib.linux-armv7l-3.11/aiohttp
copying aiohttp/web.py -> build/lib.linux-armv7l-3.11/aiohttp
copying aiohttp/log.py -> build/lib.linux-armv7l-3.11/aiohttp
copying aiohttp/client_exceptions.py -> build/lib.linux-armv7l-3.11/aiohtt p
copying aiohttp/web_runner.py -> build/lib.linux-armv7l-3.11/aiohttp
copying aiohttp/tcp_helpers.py -> build/lib.linux-armv7l-3.11/aiohttp
copying aiohttp/worker.py -> build/lib.linux-armv7l-3.11/aiohttp
copying aiohttp/web_routedef.py -> build/lib.linux-armv7l-3.11/aiohttp
copying aiohttp/client_ws.py -> build/lib.linux-armv7l-3.11/aiohttp
copying aiohttp/http_websocket.py -> build/lib.linux-armv7l-3.11/aiohttp
copying aiohttp/web_fileresponse.py -> build/lib.linux-armv7l-3.11/aiohttp
copying aiohttp/multipart.py -> build/lib.linux-armv7l-3.11/aiohttp
copying aiohttp/formdata.py -> build/lib.linux-armv7l-3.11/aiohttp
copying aiohttp/http_writer.py -> build/lib.linux-armv7l-3.11/aiohttp
copying aiohttp/http_exceptions.py -> build/lib.linux-armv7l-3.11/aiohttp
copying aiohttp/resolver.py -> build/lib.linux-armv7l-3.11/aiohttp
copying aiohttp/client_reqrep.py -> build/lib.linux-armv7l-3.11/aiohttp
copying aiohttp/payload_streamer.py -> build/lib.linux-armv7l-3.11/aiohttp
copying aiohttp/web_protocol.py -> build/lib.linux-armv7l-3.11/aiohttp
copying aiohttp/web_middlewares.py -> build/lib.linux-armv7l-3.11/aiohttp
copying aiohttp/web_request.py -> build/lib.linux-armv7l-3.11/aiohttp
copying aiohttp/web_log.py -> build/lib.linux-armv7l-3.11/aiohttp
copying aiohttp/web_ws.py -> build/lib.linux-armv7l-3.11/aiohttp
copying aiohttp/http_parser.py -> build/lib.linux-armv7l-3.11/aiohttp
copying aiohttp/web_app.py -> build/lib.linux-armv7l-3.11/aiohttp
copying aiohttp/connector.py -> build/lib.linux-armv7l-3.11/aiohttp
copying aiohttp/payload.py -> build/lib.linux-armv7l-3.11/aiohttp
copying aiohttp/web_response.py -> build/lib.linux-armv7l-3.11/aiohttp
copying aiohttp/client.py -> build/lib.linux-armv7l-3.11/aiohttp
copying aiohttp/http.py -> build/lib.linux-armv7l-3.11/aiohttp
copying aiohttp/tracing.py -> build/lib.linux-armv7l-3.11/aiohttp
copying aiohttp/base_protocol.py -> build/lib.linux-armv7l-3.11/aiohttp
copying aiohttp/web_urldispatcher.py -> build/lib.linux-armv7l-3.11/aiohtt p
copying aiohttp/client_proto.py -> build/lib.linux-armv7l-3.11/aiohttp
copying aiohttp/hdrs.py -> build/lib.linux-armv7l-3.11/aiohttp
copying aiohttp/__init__.py -> build/lib.linux-armv7l-3.11/aiohttp
copying aiohttp/streams.py -> build/lib.linux-armv7l-3.11/aiohttp
copying aiohttp/test_utils.py -> build/lib.linux-armv7l-3.11/aiohttp
copying aiohttp/cookiejar.py -> build/lib.linux-armv7l-3.11/aiohttp
copying aiohttp/pytest_plugin.py -> build/lib.linux-armv7l-3.11/aiohttp
copying aiohttp/abc.py -> build/lib.linux-armv7l-3.11/aiohttp
running egg_info
writing aiohttp.egg-info/PKG-INFO
writing dependency_links to aiohttp.egg-info/dependency_links.txt
writing requirements to aiohttp.egg-info/requires.txt
writing top-level names to aiohttp.egg-info/top_level.txt
reading manifest file 'aiohttp.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'aiohttp' anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in d istribution
warning: no previously-included files matching '*.pyd' found anywhere in d istribution
warning: no previously-included files matching '*.so' found anywhere in di stribution
warning: no previously-included files matching '*.lib' found anywhere in d istribution
warning: no previously-included files matching '*.dll' found anywhere in d istribution
warning: no previously-included files matching '*.a' found anywhere in dis tribution
warning: no previously-included files matching '*.obj' found anywhere in d istribution
warning: no previously-included files found matching 'aiohttp/*.html'
no previously-included directories found matching 'docs/_build'
adding license file 'LICENSE.txt'
writing manifest file 'aiohttp.egg-info/SOURCES.txt'
copying aiohttp/_cparser.pxd -> build/lib.linux-armv7l-3.11/aiohttp
copying aiohttp/_find_header.c -> build/lib.linux-armv7l-3.11/aiohttp
copying aiohttp/_find_header.h -> build/lib.linux-armv7l-3.11/aiohttp
copying aiohttp/_find_header.pxd -> build/lib.linux-armv7l-3.11/aiohttp
copying aiohttp/_headers.pxi -> build/lib.linux-armv7l-3.11/aiohttp
copying aiohttp/_helpers.c -> build/lib.linux-armv7l-3.11/aiohttp
copying aiohttp/_helpers.pyi -> build/lib.linux-armv7l-3.11/aiohttp
copying aiohttp/_helpers.pyx -> build/lib.linux-armv7l-3.11/aiohttp
copying aiohttp/_http_parser.c -> build/lib.linux-armv7l-3.11/aiohttp
copying aiohttp/_http_parser.pyx -> build/lib.linux-armv7l-3.11/aiohttp
copying aiohttp/_http_writer.c -> build/lib.linux-armv7l-3.11/aiohttp
copying aiohttp/_http_writer.pyx -> build/lib.linux-armv7l-3.11/aiohttp
copying aiohttp/_websocket.c -> build/lib.linux-armv7l-3.11/aiohttp
copying aiohttp/_websocket.pyx -> build/lib.linux-armv7l-3.11/aiohttp
copying aiohttp/py.typed -> build/lib.linux-armv7l-3.11/aiohttp
creating build/lib.linux-armv7l-3.11/aiohttp/.hash
copying aiohttp/.hash/_cparser.pxd.hash -> build/lib.linux-armv7l-3.11/aio http/.hash
copying aiohttp/.hash/_find_header.pxd.hash -> build/lib.linux-armv7l-3.11 /aiohttp/.hash
copying aiohttp/.hash/_helpers.pyi.hash -> build/lib.linux-armv7l-3.11/aio http/.hash
copying aiohttp/.hash/_helpers.pyx.hash -> build/lib.linux-armv7l-3.11/aio http/.hash
copying aiohttp/.hash/_http_parser.pyx.hash -> build/lib.linux-armv7l-3.11 /aiohttp/.hash
copying aiohttp/.hash/_http_writer.pyx.hash -> build/lib.linux-armv7l-3.11 /aiohttp/.hash
copying aiohttp/.hash/_websocket.pyx.hash -> build/lib.linux-armv7l-3.11/a iohttp/.hash
copying aiohttp/.hash/hdrs.py.hash -> build/lib.linux-armv7l-3.11/aiohttp/ .hash
running build_ext
building 'aiohttp._websocket' extension
creating build/temp.linux-armv7l-3.11
creating build/temp.linux-armv7l-3.11/aiohttp
gcc -pthread -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/home/pi /.local/include/python3.11 -c aiohttp/_websocket.c -o build/temp.linux-armv7l-3. 11/aiohttp/_websocket.o
aiohttp/_websocket.c:198:12: fatal error: longintrepr.h: Немає такого файл а або каталогу
#include "longintrepr.h"
^~~~~~~~~~~~~~~
compilation terminated.
error: command '/usr/bin/gcc' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem wit h pip.
ERROR: Failed building wheel for aiohttp
Building wheel for frozenlist (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for frozenlist (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [43 lines of output]
**********************
* Accellerated build *
**********************
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-armv7l-3.11
creating build/lib.linux-armv7l-3.11/frozenlist
copying frozenlist/__init__.py -> build/lib.linux-armv7l-3.11/frozenlist
running egg_info
writing frozenlist.egg-info/PKG-INFO
writing dependency_links to frozenlist.egg-info/dependency_links.txt
writing top-level names to frozenlist.egg-info/top_level.txt
reading manifest file 'frozenlist.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*.pyc' found anywhere in d istribution
warning: no previously-included files matching '*.pyd' found anywhere in d istribution
warning: no previously-included files matching '*.so' found anywhere in di stribution
warning: no previously-included files matching '*.lib' found anywhere in d istribution
warning: no previously-included files matching '*.dll' found anywhere in d istribution
warning: no previously-included files matching '*.a' found anywhere in dis tribution
warning: no previously-included files matching '*.obj' found anywhere in d istribution
warning: no previously-included files found matching 'frozenlist/*.html'
no previously-included directories found matching 'docs/_build'
adding license file 'LICENSE'
writing manifest file 'frozenlist.egg-info/SOURCES.txt'
copying frozenlist/__init__.pyi -> build/lib.linux-armv7l-3.11/frozenlist
copying frozenlist/_frozenlist.pyx -> build/lib.linux-armv7l-3.11/frozenli st
copying frozenlist/py.typed -> build/lib.linux-armv7l-3.11/frozenlist
running build_ext
building 'frozenlist._frozenlist' extension
creating build/temp.linux-armv7l-3.11
creating build/temp.linux-armv7l-3.11/frozenlist
gcc -pthread -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/home/pi /.local/include/python3.11 -c frozenlist/_frozenlist.c -o build/temp.linux-armv7 l-3.11/frozenlist/_frozenlist.o
frozenlist/_frozenlist.c: In function ‘__Pyx_AddTraceback’:
frozenlist/_frozenlist.c:432:62: error: dereferencing pointer to incomplet e type ‘PyFrameObject’ {aka ‘struct _frame’}
#define __Pyx_PyFrame_SetLineNumber(frame, lineno) (frame)->f_lineno = (lineno)
^~
frozenlist/_frozenlist.c:7127:5: note: in expansion of macro ‘__Pyx_PyFram e_SetLineNumber’
__Pyx_PyFrame_SetLineNumber(py_frame, py_line);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
error: command '/usr/bin/gcc' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem wit h pip.
ERROR: Failed building wheel for frozenlist
Building wheel for yarl (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for yarl (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [43 lines of output]
**********************
* Accelerated build *
**********************
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-armv7l-3.11
creating build/lib.linux-armv7l-3.11/yarl
copying yarl/_url.py -> build/lib.linux-armv7l-3.11/yarl
copying yarl/_quoting.py -> build/lib.linux-armv7l-3.11/yarl
copying yarl/_quoting_py.py -> build/lib.linux-armv7l-3.11/yarl
copying yarl/__init__.py -> build/lib.linux-armv7l-3.11/yarl
running egg_info
writing yarl.egg-info/PKG-INFO
writing dependency_links to yarl.egg-info/dependency_links.txt
writing requirements to yarl.egg-info/requires.txt
writing top-level names to yarl.egg-info/top_level.txt
reading manifest file 'yarl.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*.pyc' found anywhere in d istribution
warning: no previously-included files matching '*.cache' found anywhere in distribution
warning: no previously-included files found matching 'yarl/*.html'
warning: no previously-included files found matching 'yarl/*.so'
warning: no previously-included files found matching 'yarl/*.pyd'
no previously-included directories found matching 'docs/_build'
adding license file 'LICENSE'
writing manifest file 'yarl.egg-info/SOURCES.txt'
copying yarl/__init__.pyi -> build/lib.linux-armv7l-3.11/yarl
copying yarl/_quoting_c.c -> build/lib.linux-armv7l-3.11/yarl
copying yarl/_quoting_c.pyi -> build/lib.linux-armv7l-3.11/yarl
copying yarl/_quoting_c.pyx -> build/lib.linux-armv7l-3.11/yarl
copying yarl/py.typed -> build/lib.linux-armv7l-3.11/yarl
running build_ext
building 'yarl._quoting_c' extension
creating build/temp.linux-armv7l-3.11
creating build/temp.linux-armv7l-3.11/yarl
gcc -pthread -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/home/pi /.local/include/python3.11 -c yarl/_quoting_c.c -o build/temp.linux-armv7l-3.11/ yarl/_quoting_c.o
yarl/_quoting_c.c:198:12: fatal error: longintrepr.h: Немає такого файла а бо каталогу
#include "longintrepr.h"
^~~~~~~~~~~~~~~
compilation terminated.
error: command '/usr/bin/gcc' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem wit h pip.
ERROR: Failed building wheel for yarl
Failed to build aiohttp frozenlist yarl
ERROR: Could not build wheels for aiohttp, frozenlist, yarl, which is required to install pyproject.toml-based projects

Can't install python cryptography on Cygwin

I have installed python38-cryptogrpahy package v.3.3.2-1 thru cygwin but when I try to install fabric via pip - it tries to build it and fails with next error:
$ pip install -r ./requirements.txt
Collecting fabric3
Using cached Fabric3-1.14.post1-py3-none-any.whl (92 kB)
Collecting paramiko<3.0,>=2.0
Using cached paramiko-2.8.1-py2.py3-none-any.whl (206 kB)
Requirement already satisfied: six>=1.10.0 in ./env/lib/python3.8/site-packages (from fabric3->-r ./requirements.txt (line 1)) (1.16.0)
Collecting pynacl>=1.0.1
Using cached PyNaCl-1.4.0-cp38-cp38-cygwin_3_3_3_x86_64.whl
Collecting bcrypt>=3.1.3
Using cached bcrypt-3.2.0-cp38-cp38-cygwin_3_3_3_x86_64.whl
Collecting cryptography>=2.5
Using cached cryptography-36.0.1.tar.gz (572 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting cffi>=1.1
Using cached cffi-1.15.0-cp38-cp38-cygwin_3_3_3_x86_64.whl
Requirement already satisfied: pycparser in ./env/lib/python3.8/site-packages (from cffi>=1.1->bcrypt>=3.1.3->paramiko<3.0,>=2.0->fabric3->-r ./requirements.txt (line 1)) (2.21)
Building wheels for collected packages: cryptography
Building wheel for cryptography (pyproject.toml) ... error
ERROR: Command errored out with exit status 1:
command: /home/dnester/repo/vastuf_server_common/containers/smart_home/rvalarm/env/bin/python /home/dnester/repo/vastuf_server_common/containers/smart_home/rvalarm/env/lib/python3.8/site-packages/pip/_vendor/pep517/in_process/_in_process.py build_wheel /tmp/tmpojt6ejpa
cwd: /tmp/pip-install-cxk1g2b2/cryptography_9e2405fed34048fcbe4e2c9e871e31b6
Complete output (168 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.cygwin-3.3.3-x86_64-3.8
creating build/lib.cygwin-3.3.3-x86_64-3.8/cryptography
copying src/cryptography/exceptions.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography
copying src/cryptography/fernet.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography
copying src/cryptography/utils.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography
copying src/cryptography/__about__.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography
copying src/cryptography/__init__.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography
creating build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat
copying src/cryptography/hazmat/_oid.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat
copying src/cryptography/hazmat/__init__.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat
creating build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/x509
copying src/cryptography/x509/base.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/x509
copying src/cryptography/x509/certificate_transparency.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/x509
copying src/cryptography/x509/extensions.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/x509
copying src/cryptography/x509/general_name.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/x509
copying src/cryptography/x509/name.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/x509
copying src/cryptography/x509/ocsp.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/x509
copying src/cryptography/x509/oid.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/x509
copying src/cryptography/x509/__init__.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/x509
creating build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/backends
copying src/cryptography/hazmat/backends/interfaces.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/backends
copying src/cryptography/hazmat/backends/__init__.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/backends
creating build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/bindings
copying src/cryptography/hazmat/bindings/__init__.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/bindings
creating build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/cmac.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/constant_time.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/hashes.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/hmac.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/keywrap.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/padding.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/poly1305.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/_asymmetric.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/_cipheralgorithm.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/_serialization.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/__init__.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives
creating build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/aead.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/backend.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/ciphers.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/cmac.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/dh.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/dsa.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/ec.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/ed25519.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/ed448.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/encode_asn1.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/hashes.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/hmac.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/poly1305.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/rsa.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/utils.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/x25519.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/x448.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/x509.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/__init__.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/backends/openssl
creating build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/bindings/openssl
copying src/cryptography/hazmat/bindings/openssl/binding.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/bindings/openssl
copying src/cryptography/hazmat/bindings/openssl/_conditional.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/bindings/openssl
copying src/cryptography/hazmat/bindings/openssl/__init__.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/bindings/openssl
creating build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/dh.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/dsa.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/ec.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/ed25519.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/ed448.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/padding.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/rsa.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/types.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/utils.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/x25519.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/x448.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/__init__.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/asymmetric
creating build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/aead.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/algorithms.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/base.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/modes.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/__init__.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/ciphers
creating build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/concatkdf.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/hkdf.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/kbkdf.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/pbkdf2.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/scrypt.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/x963kdf.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/__init__.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/kdf
creating build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/base.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/pkcs12.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/pkcs7.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/ssh.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/__init__.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/serialization
creating build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/hotp.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/totp.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/__init__.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/twofactor
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 '.coveragerc'
warning: no previously-included files found matching 'codecov.yml'
warning: no previously-included files found matching '.readthedocs.yml'
warning: no previously-included files found matching 'dev-requirements.txt'
warning: no previously-included files found matching 'tox.ini'
warning: no previously-included files found matching 'mypy.ini'
warning: no previously-included files matching '*' found under directory '.zuul.d'
warning: no previously-included files matching '*' found under directory '.zuul.playbooks'
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'
copying src/cryptography/py.typed -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography
creating build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/__init__.pyi -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/asn1.pyi -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/ocsp.pyi -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/x509.pyi -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/bindings/_rust
running build_ext
running build_rust
=============================DEBUG ASSISTANCE=============================
If you are seeing a compilation error please try the following steps to
successfully install cryptography:
1) Upgrade to the latest pip and try again. This will fix errors for most
users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
2) Read https://cryptography.io/en/latest/installation/ for specific
instructions for your platform.
3) Check our frequently asked questions for more information:
https://cryptography.io/en/latest/faq/
4) Ensure you have a recent Rust toolchain installed:
https://cryptography.io/en/latest/installation/#rust
Python: 3.8.12
platform: CYGWIN_NT-10.0-22000-3.3.3-341.x86_64-x86_64-64bit-WindowsPE
pip: n/a
setuptools: 59.7.0
setuptools_rust: 1.1.2
=============================DEBUG ASSISTANCE=============================
error: can't find Rust compiler
If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler.
To update pip, run:
pip install --upgrade pip
and then retry package installation.
If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain.
This package requires Rust >=1.41.0.
----------------------------------------
ERROR: Failed building wheel for cryptography
Failed to build cryptography
ERROR: Could not build wheels for cryptography, which is required to install pyproject.toml-based projects
I didn't find Rust compiler in Cygwin packages and don't want to build it from sources. So I want to figure out why installed cryptography package is not recognized by pip.
3.3.2 is the last cryptography version that does not require rust. So the last possible and available on Cygwin that has no rust compiler.
As it seems that pip is trying to install the latest upstream release of cryptography, forcing the cryptography==3.3.2 on the requirement should work.
Try to upgrade pip: python -m pip install --upgrade pip

Python cryptography module import error

I am attempting to run a website that is built on CherryPy and working on deploying it in a new environment with Python 2.7.13 and been working to get everything necessary setup. Currently I am stuck on importing pyOpenSSL to enable SSL support but pyOpenSSL is unable to install because a required module, Cryptography, is not installing. So I have been working on installing just Cryptography for the time being as all other required modules are installed.
Earlier, after I had used pip2.7 install cryptography > /tmp/piplog.txt to attempt to install the module and log the whole output to a separate file and I was able to see errors like these
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/local/include/python2.7 -c build/temp.linux-x86_64-2.7/_openssl.c -o build/temp.linux-x86_64-2.7/build/temp.linux-x86_64-2.7/_openssl.o
build/temp.linux-x86_64-2.7/_openssl.c:434:30: error: openssl/opensslv.h: No such file or directory
build/temp.linux-x86_64-2.7/_openssl.c:448:27: error: openssl/e_os2.h: No such file or directory
build/temp.linux-x86_64-2.7/_openssl.c:468:25: error: openssl/aes.h: No such file or directory
build/temp.linux-x86_64-2.7/_openssl.c:471:26: error: openssl/asn1.h: No such file or directory
This lead me to see where those files currently actually were installed with find / -name opensslv.h and then I copied the files from my install of openssl with
cp -rf /usr/local/ssl/inclue/openssl/* /usr/local/include/python2.7/openssl
so that the cryptography module would find the appropriate files and it seems like the installer got a bit farther, but I am not able to currently make sense of the errors I am seeing in the output. The full output is below
Collecting cryptography
Using cached cryptography-1.9.tar.gz
Requirement already satisfied: idna>=2.1 in /usr/local/lib/python2.7/site-packages (from cryptography)
Requirement already satisfied: asn1crypto>=0.21.0 in /usr/local/lib/python2.7/site-packages (from cryptography)
Requirement already satisfied: six>=1.4.1 in /usr/local/lib/python2.7/site-packages/six-1.10.0-py2.7.egg (from cryptography)
Requirement already satisfied: enum34 in /usr/local/lib/python2.7/site-packages (from cryptography)
Requirement already satisfied: ipaddress in /usr/local/lib/python2.7/site-packages (from cryptography)
Requirement already satisfied: cffi>=1.7 in /usr/local/lib/python2.7/site-packages (from cryptography)
Requirement already satisfied: pycparser in /usr/local/lib/python2.7/site-packages (from cffi>=1.7->cryptography)
Installing collected packages: cryptography
Running setup.py install for cryptography: started
Running setup.py install for cryptography: finished with status 'error'
Complete output from command /usr/local/bin/python2.7 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-VvLC6F/cryptography/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-iAcBaS-record/install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/cryptography
copying src/cryptography/exceptions.py -> build/lib.linux-x86_64-2.7/cryptography
copying src/cryptography/__init__.py -> build/lib.linux-x86_64-2.7/cryptography
copying src/cryptography/utils.py -> build/lib.linux-x86_64-2.7/cryptography
copying src/cryptography/__about__.py -> build/lib.linux-x86_64-2.7/cryptography
copying src/cryptography/fernet.py -> build/lib.linux-x86_64-2.7/cryptography
creating build/lib.linux-x86_64-2.7/cryptography/x509
copying src/cryptography/x509/__init__.py -> build/lib.linux-x86_64-2.7/cryptography/x509
copying src/cryptography/x509/extensions.py -> build/lib.linux-x86_64-2.7/cryptography/x509
copying src/cryptography/x509/oid.py -> build/lib.linux-x86_64-2.7/cryptography/x509
copying src/cryptography/x509/base.py -> build/lib.linux-x86_64-2.7/cryptography/x509
copying src/cryptography/x509/general_name.py -> build/lib.linux-x86_64-2.7/cryptography/x509
copying src/cryptography/x509/name.py -> build/lib.linux-x86_64-2.7/cryptography/x509
copying src/cryptography/x509/certificate_transparency.py -> build/lib.linux-x86_64-2.7/cryptography/x509
creating build/lib.linux-x86_64-2.7/cryptography/hazmat
copying src/cryptography/hazmat/__init__.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat
creating build/lib.linux-x86_64-2.7/cryptography/hazmat/backends
copying src/cryptography/hazmat/backends/interfaces.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends
copying src/cryptography/hazmat/backends/__init__.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends
creating build/lib.linux-x86_64-2.7/cryptography/hazmat/bindings
copying src/cryptography/hazmat/bindings/__init__.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/bindings
creating build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/interfaces.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/serialization.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/padding.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/mac.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/cmac.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/constant_time.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/__init__.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/hashes.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/keywrap.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/hmac.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives
creating build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/rsa.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/ciphers.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/dh.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/cmac.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/dsa.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/__init__.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/ec.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/x509.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/backend.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/utils.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/hashes.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/hmac.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/encode_asn1.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/openssl
creating build/lib.linux-x86_64-2.7/cryptography/hazmat/bindings/openssl
copying src/cryptography/hazmat/bindings/openssl/__init__.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/bindings/openssl
copying src/cryptography/hazmat/bindings/openssl/binding.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/bindings/openssl
copying src/cryptography/hazmat/bindings/openssl/_conditional.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/bindings/openssl
creating build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/totp.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/__init__.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/hotp.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/utils.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/twofactor
creating build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/rsa.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/dh.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/padding.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/dsa.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/__init__.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/ec.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/utils.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/asymmetric
creating build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/algorithms.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/__init__.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/base.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/modes.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/ciphers
creating build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/x963kdf.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/kbkdf.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/pbkdf2.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/__init__.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/concatkdf.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/hkdf.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/scrypt.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/kdf
running egg_info
writing requirements to src/cryptography.egg-info/requires.txt
writing src/cryptography.egg-info/PKG-INFO
writing top-level names to src/cryptography.egg-info/top_level.txt
writing dependency_links to src/cryptography.egg-info/dependency_links.txt
writing entry points to src/cryptography.egg-info/entry_points.txt
warning: manifest_maker: standard file '-c' not found
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 matching '*' found under directory 'vectors'
writing manifest file 'src/cryptography.egg-info/SOURCES.txt'
running build_ext
generating cffi module 'build/temp.linux-x86_64-2.7/_padding.c'
creating build/temp.linux-x86_64-2.7
generating cffi module 'build/temp.linux-x86_64-2.7/_constant_time.c'
generating cffi module 'build/temp.linux-x86_64-2.7/_openssl.c'
building '_openssl' extension
creating build/temp.linux-x86_64-2.7/build
creating build/temp.linux-x86_64-2.7/build/temp.linux-x86_64-2.7
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/local/include/python2.7 -c build/temp.linux-x86_64-2.7/_openssl.c -o build/temp.linux-x86_64-2.7/build/temp.linux-x86_64-2.7/_openssl.o
build/temp.linux-x86_64-2.7/_openssl.c: In function ‘_setup_ssl_threads’:
build/temp.linux-x86_64-2.7/_openssl.c:3400: warning: comparison is always false due to limited range of data type
gcc -pthread -shared build/temp.linux-x86_64-2.7/build/temp.linux-x86_64-2.7/_openssl.o -lssl -lcrypto -o build/lib.linux-x86_64-2.7/cryptography/hazmat/bindings/_openssl.so
/usr/bin/ld: cannot find -lssl
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
----------------------------------------
Well, it seems that I was running into a similar error as before since once I added symbolic links to the libssl.so and libcrypto.so files to my /usr/lib/ directory. As root I did
ln -s /usr/local/ssl/lib/libssl.so /usr/lib/libssl.so
ln -s /usr/local/ssl/lib/libcrypto.so /usr/lib/libcrypto.so
After that I was able to successfully do pip2.7 install cryptography and pip2.7 install pyOpenSSL
Now when I start up my cherrypy website I no longer get errors about the pyOpenSSL being required.
Possibly some rookie mistakes with my previous software install caused the files to be not where the new installer was looking, or I should have known to put the symbolic link there to avoid these types of issues. But a good learning experience

Categories