"The filename or extension is too long" while installing confluent-kafka? - python

I have some trouble installing confluent-kafka by using "pip install confluent-kafka". But I got this error: "The filename or extension is too long." Details are below.
Collecting confluent-kafka
Using cached confluent-kafka-1.8.2.tar.gz (104 kB)
Preparing metadata (setup.py) ... done
Building wheels for collected packages: confluent-kafka
Building wheel for confluent-kafka (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [48 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-3.10
creating build\lib.win-amd64-3.10\confluent_kafka
copying src\confluent_kafka\deserializing_consumer.py -> build\lib.win-amd64-3.10\confluent_kafka
copying src\confluent_kafka\error.py -> build\lib.win-amd64-3.10\confluent_kafka
copying src\confluent_kafka\serializing_producer.py -> build\lib.win-amd64-3.10\confluent_kafka
copying src\confluent_kafka\__init__.py -> build\lib.win-amd64-3.10\confluent_kafka
creating build\lib.win-amd64-3.10\confluent_kafka\admin
copying src\confluent_kafka\admin\__init__.py -> build\lib.win-amd64-3.10\confluent_kafka\admin
creating build\lib.win-amd64-3.10\confluent_kafka\avro
copying src\confluent_kafka\avro\cached_schema_registry_client.py -> build\lib.win-amd64-3.10\confluent_kafka\avro
copying src\confluent_kafka\avro\error.py -> build\lib.win-amd64-3.10\confluent_kafka\avro
copying src\confluent_kafka\avro\load.py -> build\lib.win-amd64-3.10\confluent_kafka\avro
copying src\confluent_kafka\avro\__init__.py -> build\lib.win-amd64-3.10\confluent_kafka\avro
creating build\lib.win-amd64-3.10\confluent_kafka\kafkatest
copying src\confluent_kafka\kafkatest\verifiable_client.py -> build\lib.win-amd64-3.10\confluent_kafka\kafkatest
copying src\confluent_kafka\kafkatest\verifiable_consumer.py -> build\lib.win-amd64-3.10\confluent_kafka\kafkatest
copying src\confluent_kafka\kafkatest\verifiable_producer.py -> build\lib.win-amd64-3.10\confluent_kafka\kafkatest
copying src\confluent_kafka\kafkatest\__init__.py -> build\lib.win-amd64-3.10\confluent_kafka\kafkatest
creating build\lib.win-amd64-3.10\confluent_kafka\schema_registry
copying src\confluent_kafka\schema_registry\avro.py -> build\lib.win-amd64-3.10\confluent_kafka\schema_registry
copying src\confluent_kafka\schema_registry\error.py -> build\lib.win-amd64-3.10\confluent_kafka\schema_registry
copying src\confluent_kafka\schema_registry\json_schema.py -> build\lib.win-amd64-3.10\confluent_kafka\schema_registry
copying src\confluent_kafka\schema_registry\protobuf.py -> build\lib.win-amd64-3.10\confluent_kafka\schema_registry
copying src\confluent_kafka\schema_registry\schema_registry_client.py -> build\lib.win-amd64-3.10\confluent_kafka\schema_registry
copying src\confluent_kafka\schema_registry\__init__.py -> build\lib.win-amd64-3.10\confluent_kafka\schema_registry
creating build\lib.win-amd64-3.10\confluent_kafka\serialization
copying src\confluent_kafka\serialization\__init__.py -> build\lib.win-amd64-3.10\confluent_kafka\serialization
creating build\lib.win-amd64-3.10\confluent_kafka\avro\serializer
copying src\confluent_kafka\avro\serializer\message_serializer.py -> build\lib.win-amd64-3.10\confluent_kafka\avro\serializer
copying src\confluent_kafka\avro\serializer\__init__.py -> build\lib.win-amd64-3.10\confluent_kafka\avro\serializer
running build_ext
building 'confluent_kafka.cimpl' extension
creating build\temp.win-amd64-3.10
creating build\temp.win-amd64-3.10\Release
creating build\temp.win-amd64-3.10\Release\Users
creating build\temp.win-amd64-3.10\Release\Users\Among
creating build\temp.win-amd64-3.10\Release\Users\Among\AppData
creating build\temp.win-amd64-3.10\Release\Users\Among\AppData\Local
creating build\temp.win-amd64-3.10\Release\Users\Among\AppData\Local\Temp
creating build\temp.win-amd64-3.10\Release\Users\Among\AppData\Local\Temp\pip-install-e4mpsn3s
creating build\temp.win-amd64-3.10\Release\Users\Among\AppData\Local\Temp\pip-install-e4mpsn3s\confluent-kafka_a53471ea97464e83aa35d4164a2c7040
creating build\temp.win-amd64-3.10\Release\Users\Among\AppData\Local\Temp\pip-install-e4mpsn3s\confluent-kafka_a53471ea97464e83aa35d4164a2c7040\src
creating build\temp.win-amd64-3.10\Release\Users\Among\AppData\Local\Temp\pip-install-e4mpsn3s\confluent-kafka_a53471ea97464e83aa35d4164a2c7040\src\confluent_kafka
error: could not create 'build\temp.win-amd64-3.10\Release\Users\Among\AppData\Local\Temp\pip-install-e4mpsn3s\confluent-kafka_a53471ea97464e83aa35d4164a2c7040\src\confluent_kafka': The filename or extension is too long
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for confluent-kafka
Running setup.py clean for confluent-kafka
Failed to build confluent-kafka
Installing collected packages: confluent-kafka
Running setup.py install for confluent-kafka ... error
error: subprocess-exited-with-error
× Running setup.py install for confluent-kafka did not run successfully.
│ exit code: 1
╰─> [50 lines of output]
running install
C:\Users\Among\AppData\Local\Programs\Python\Python310\lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running build
running build_py
creating build
creating build\lib.win-amd64-3.10
creating build\lib.win-amd64-3.10\confluent_kafka
copying src\confluent_kafka\deserializing_consumer.py -> build\lib.win-amd64-3.10\confluent_kafka
copying src\confluent_kafka\error.py -> build\lib.win-amd64-3.10\confluent_kafka
copying src\confluent_kafka\serializing_producer.py -> build\lib.win-amd64-3.10\confluent_kafka
copying src\confluent_kafka\__init__.py -> build\lib.win-amd64-3.10\confluent_kafka
creating build\lib.win-amd64-3.10\confluent_kafka\admin
copying src\confluent_kafka\admin\__init__.py -> build\lib.win-amd64-3.10\confluent_kafka\admin
creating build\lib.win-amd64-3.10\confluent_kafka\avro
copying src\confluent_kafka\avro\cached_schema_registry_client.py -> build\lib.win-amd64-3.10\confluent_kafka\avro
copying src\confluent_kafka\avro\error.py -> build\lib.win-amd64-3.10\confluent_kafka\avro
copying src\confluent_kafka\avro\load.py -> build\lib.win-amd64-3.10\confluent_kafka\avro
copying src\confluent_kafka\avro\__init__.py -> build\lib.win-amd64-3.10\confluent_kafka\avro
creating build\lib.win-amd64-3.10\confluent_kafka\kafkatest
copying src\confluent_kafka\kafkatest\verifiable_client.py -> build\lib.win-amd64-3.10\confluent_kafka\kafkatest
copying src\confluent_kafka\kafkatest\verifiable_consumer.py -> build\lib.win-amd64-3.10\confluent_kafka\kafkatest
copying src\confluent_kafka\kafkatest\verifiable_producer.py -> build\lib.win-amd64-3.10\confluent_kafka\kafkatest
copying src\confluent_kafka\kafkatest\__init__.py -> build\lib.win-amd64-3.10\confluent_kafka\kafkatest
creating build\lib.win-amd64-3.10\confluent_kafka\schema_registry
copying src\confluent_kafka\schema_registry\avro.py -> build\lib.win-amd64-3.10\confluent_kafka\schema_registry
copying src\confluent_kafka\schema_registry\error.py -> build\lib.win-amd64-3.10\confluent_kafka\schema_registry
copying src\confluent_kafka\schema_registry\json_schema.py -> build\lib.win-amd64-3.10\confluent_kafka\schema_registry
copying src\confluent_kafka\schema_registry\protobuf.py -> build\lib.win-amd64-3.10\confluent_kafka\schema_registry
copying src\confluent_kafka\schema_registry\schema_registry_client.py -> build\lib.win-amd64-3.10\confluent_kafka\schema_registry
copying src\confluent_kafka\schema_registry\__init__.py -> build\lib.win-amd64-3.10\confluent_kafka\schema_registry
creating build\lib.win-amd64-3.10\confluent_kafka\serialization
copying src\confluent_kafka\serialization\__init__.py -> build\lib.win-amd64-3.10\confluent_kafka\serialization
creating build\lib.win-amd64-3.10\confluent_kafka\avro\serializer
copying src\confluent_kafka\avro\serializer\message_serializer.py -> build\lib.win-amd64-3.10\confluent_kafka\avro\serializer
copying src\confluent_kafka\avro\serializer\__init__.py -> build\lib.win-amd64-3.10\confluent_kafka\avro\serializer
running build_ext
building 'confluent_kafka.cimpl' extension
creating build\temp.win-amd64-3.10
creating build\temp.win-amd64-3.10\Release
creating build\temp.win-amd64-3.10\Release\Users
creating build\temp.win-amd64-3.10\Release\Users\Among
creating build\temp.win-amd64-3.10\Release\Users\Among\AppData
creating build\temp.win-amd64-3.10\Release\Users\Among\AppData\Local
creating build\temp.win-amd64-3.10\Release\Users\Among\AppData\Local\Temp
creating build\temp.win-amd64-3.10\Release\Users\Among\AppData\Local\Temp\pip-install-e4mpsn3s
creating build\temp.win-amd64-3.10\Release\Users\Among\AppData\Local\Temp\pip-install-e4mpsn3s\confluent-kafka_a53471ea97464e83aa35d4164a2c7040
creating build\temp.win-amd64-3.10\Release\Users\Among\AppData\Local\Temp\pip-install-e4mpsn3s\confluent-kafka_a53471ea97464e83aa35d4164a2c7040\src
creating build\temp.win-amd64-3.10\Release\Users\Among\AppData\Local\Temp\pip-install-e4mpsn3s\confluent-kafka_a53471ea97464e83aa35d4164a2c7040\src\confluent_kafka
error: could not create 'build\temp.win-amd64-3.10\Release\Users\Among\AppData\Local\Temp\pip-install-e4mpsn3s\confluent-kafka_a53471ea97464e83aa35d4164a2c7040\src\confluent_kafka': The filename or extension is too long
[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.
╰─> confluent-kafka
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
I tried to use other method in this link "https://github.com/confluentinc/confluent-kafka-python/issues/1002". But it also doesn't work.
Please help me!!

Windows versions lower than 1607 have limitations in place for maximum length for a path (set by MAX_PATH), which restricts file paths' lengths to be capped at 260 characters.
Fortunately, if you are running Windows 10 version 1607, you can enable support for long paths:
Click Win+R
Type regedit and press Enter
Go to Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem
Edit or create a key named LongPathsEnabled (type: REG_DWORD)
Enter 1 as its value and press OK.
Restart your system and try again. It should work now.
Read more: Maximum Path Length Limitation in Windows

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.

FASTECDSA : Module Not FoundError

when i try to run a python script it throws me "ModuleNotFoundError: No module named "fastecdsa" error and when i try to install fastecdsa it throws me this
Preparing metadata (setup.py) ... done
Using legacy 'setup.py install' for fastecdsa, since package 'wheel' is not installed.
Installing collected packages: fastecdsa
Running setup.py install for fastecdsa ... error
error: subprocess-exited-with-error
× Running setup.py install for fastecdsa did not run successfully.
│ exit code: 1
╰─> [41 lines of output]
running install
running build
running build_py
creating build
creating build\lib.win32-3.10
creating build\lib.win32-3.10\fastecdsa
copying fastecdsa\benchmark.py -> build\lib.win32-3.10\fastecdsa
copying fastecdsa\curve.py -> build\lib.win32-3.10\fastecdsa
copying fastecdsa\ecdsa.py -> build\lib.win32-3.10\fastecdsa
copying fastecdsa\keys.py -> build\lib.win32-3.10\fastecdsa
copying fastecdsa\point.py -> build\lib.win32-3.10\fastecdsa
copying fastecdsa\util.py -> build\lib.win32-3.10\fastecdsa
copying fastecdsa_init_.py -> build\lib.win32-3.10\fastecdsa
creating build\lib.win32-3.10\fastecdsa\encoding
copying fastecdsa\encoding\asn1.py -> build\lib.win32-3.10\fastecdsa\encoding
copying fastecdsa\encoding\der.py -> build\lib.win32-3.10\fastecdsa\encoding
copying fastecdsa\encoding\pem.py -> build\lib.win32-3.10\fastecdsa\encoding
copying fastecdsa\encoding\sec1.py -> build\lib.win32-3.10\fastecdsa\encoding
copying fastecdsa\encoding\util.py -> build\lib.win32-3.10\fastecdsa\encoding
copying fastecdsa\encoding_init_.py -> build\lib.win32-3.10\fastecdsa\encoding
creating build\lib.win32-3.10\fastecdsa\tests
copying fastecdsa\tests\test_brainpool_ecdh.py -> build\lib.win32-3.10\fastecdsa\tests
copying fastecdsa\tests\test_keygen.py -> build\lib.win32-3.10\fastecdsa\tests
copying fastecdsa\tests\test_key_export_import.py -> build\lib.win32-3.10\fastecdsa\tests
copying fastecdsa\tests\test_key_recovery.py -> build\lib.win32-3.10\fastecdsa\tests
copying fastecdsa\tests\test_nonce_generation.py -> build\lib.win32-3.10\fastecdsa\tests
copying fastecdsa\tests\test_p256_ecdsa.py -> build\lib.win32-3.10\fastecdsa\tests
copying fastecdsa\tests\test_point.py -> build\lib.win32-3.10\fastecdsa\tests
copying fastecdsa\tests\test_prehashed.py -> build\lib.win32-3.10\fastecdsa\tests
copying fastecdsa\tests\test_prime_field_curve_math.py -> build\lib.win32-3.10\fastecdsa\tests
copying fastecdsa\tests\test_rfc6979_ecdsa.py -> build\lib.win32-3.10\fastecdsa\tests
copying fastecdsa\tests\test_whitespace_parsing.py -> build\lib.win32-3.10\fastecdsa\tests
copying fastecdsa\tests\test_whycheproof_vectors.py -> build\lib.win32-3.10\fastecdsa\tests
copying fastecdsa\tests_init_.py -> build\lib.win32-3.10\fastecdsa\tests
creating build\lib.win32-3.10\fastecdsa\tests\encoding
copying fastecdsa\tests\encoding\test_der.py -> build\lib.win32-3.10\fastecdsa\tests\encoding
copying fastecdsa\tests\encoding\test_sec1.py -> build\lib.win32-3.10\fastecdsa\tests\encoding
copying fastecdsa\tests\encoding_init_.py -> build\lib.win32-3.10\fastecdsa\tests\encoding
running build_ext
building 'fastecdsa.curvemath' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
[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.
╰─> fastecdsa
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
my attempt to import the fastecdsa module is because i have written a script that creates many Divided Pubkeys with the bit reduction specified
the division is achieved using the modular inverse of the scalar at least 1 of the output pubkeys with have the reduced bit range specified in the argument how do i resolve this..?
As the error says, that pip modules requires Microsoft Visual C++ 14.0 or greater.
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": visualstudio.microsoft.com/visual-cpp-build-tools [end of output]
Install here: Visual C++

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.

Error while installation of PyQt5 in python 3.8.3

I have been trying to download PyQt5 but it keeps showing an error. I tried python version 3.10 but it also gave me an error.
Here is the error which I get-
Using cached https://files.pythonhosted.org/packages/3b/27/fd81188a35f37be9b3b4c2db1654d9439d1418823916fe702ac3658c9c41/PyQt5-5.15.6.tar.gz
Installing build dependencies ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\user\appdata\local\programs\python\python38\python.exe' 'c:\users\user\appdata\local\programs\python\python38\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\user\AppData\Local\Temp\pip-build-env-kl6ymrd8\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'sip >=6.4, <7' 'PyQt-builder >=1.9, <2'
cwd: None
Complete output (121 lines):
Collecting sip<7,>=6.4
Using cached https://files.pythonhosted.org/packages/de/c1/9ac5596c10f6ce28abc1849ed1b6299b3953af0b6ff21e227024991a517e/sip-6.5.1.tar.gz
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing wheel metadata: started
Preparing wheel metadata: finished with status 'done'
Collecting PyQt-builder<2,>=1.9
Using cached https://files.pythonhosted.org/packages/e4/55/db354bd9dfa613c8f8f6ecb81617caefdfb3e77befba098f8e14ed95e385/PyQt_builder-1.12.2-py3-none-any.whl
Collecting setuptools (from sip<7,>=6.4)
Using cached https://files.pythonhosted.org/packages/7c/5b/3d92b9f0f7ca1645cba48c080b54fe7d8b1033a4e5720091d1631c4266db/setuptools-60.10.0-py3-none-any.whl
Collecting packaging (from sip<7,>=6.4)
Using cached https://files.pythonhosted.org/packages/05/8e/8de486cbd03baba4deef4142bd643a3e7bbe954a784dc1bb17142572d127/packaging-21.3-py3-none-any.whl
Collecting toml (from sip<7,>=6.4)
Using cached https://files.pythonhosted.org/packages/44/6f/7120676b6d73228c96e17f1f794d8ab046fc910d781c8d151120c3f1569e/toml-0.10.2-py2.py3-none-any.whl
Collecting pyparsing!=3.0.5,>=2.0.2 (from packaging->sip<7,>=6.4)
Using cached https://files.pythonhosted.org/packages/80/c1/23fd82ad3121656b585351aba6c19761926bb0db2ebed9e4ff09a43a3fcc/pyparsing-3.0.7-py3-none-any.whl
Building wheels for collected packages: sip
Building wheel for sip (PEP 517): started
Building wheel for sip (PEP 517): finished with status 'error'
ERROR: Command errored out with exit status 1:
command: 'c:\users\user\appdata\local\programs\python\python38\python.exe' 'c:\users\user\appdata\local\programs\python\python38\lib\site-packages\pip\_vendor\pep517\_in_process.py' build_wheel 'C:\Users\user\AppData\Local\Temp\tmp6lmjb9iq'
cwd: C:\Users\user\AppData\Local\Temp\pip-install-ihnr9js0\sip
Complete output (89 lines):
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-3.8
creating build\lib.win-amd64-3.8\sipbuild
copying sipbuild\abstract_builder.py -> build\lib.win-amd64-3.8\sipbuild
copying sipbuild\abstract_project.py -> build\lib.win-amd64-3.8\sipbuild
copying sipbuild\api.py -> build\lib.win-amd64-3.8\sipbuild
copying sipbuild\argument_parser.py -> build\lib.win-amd64-3.8\sipbuild
copying sipbuild\bindings.py -> build\lib.win-amd64-3.8\sipbuild
copying sipbuild\buildable.py -> build\lib.win-amd64-3.8\sipbuild
copying sipbuild\builder.py -> build\lib.win-amd64-3.8\sipbuild
copying sipbuild\configurable.py -> build\lib.win-amd64-3.8\sipbuild
copying sipbuild\distutils_builder.py -> build\lib.win-amd64-3.8\sipbuild
copying sipbuild\exceptions.py -> build\lib.win-amd64-3.8\sipbuild
copying sipbuild\helpers.py -> build\lib.win-amd64-3.8\sipbuild
copying sipbuild\installable.py -> build\lib.win-amd64-3.8\sipbuild
copying sipbuild\project.py -> build\lib.win-amd64-3.8\sipbuild
copying sipbuild\pyproject.py -> build\lib.win-amd64-3.8\sipbuild
copying sipbuild\py_versions.py -> build\lib.win-amd64-3.8\sipbuild
copying sipbuild\setuptools_builder.py -> build\lib.win-amd64-3.8\sipbuild
copying sipbuild\version.py -> build\lib.win-amd64-3.8\sipbuild
copying sipbuild\__init__.py -> build\lib.win-amd64-3.8\sipbuild
creating build\lib.win-amd64-3.8\sipbuild\distinfo
copying sipbuild\distinfo\distinfo.py -> build\lib.win-amd64-3.8\sipbuild\distinfo
copying sipbuild\distinfo\main.py -> build\lib.win-amd64-3.8\sipbuild\distinfo
copying sipbuild\distinfo\__init__.py -> build\lib.win-amd64-3.8\sipbuild\distinfo
creating build\lib.win-amd64-3.8\sipbuild\module
copying sipbuild\module\abi_version.py -> build\lib.win-amd64-3.8\sipbuild\module
copying sipbuild\module\main.py -> build\lib.win-amd64-3.8\sipbuild\module
copying sipbuild\module\module.py -> build\lib.win-amd64-3.8\sipbuild\module
copying sipbuild\module\__init__.py -> build\lib.win-amd64-3.8\sipbuild\module
creating build\lib.win-amd64-3.8\sipbuild\tools
copying sipbuild\tools\build.py -> build\lib.win-amd64-3.8\sipbuild\tools
copying sipbuild\tools\install.py -> build\lib.win-amd64-3.8\sipbuild\tools
copying sipbuild\tools\sdist.py -> build\lib.win-amd64-3.8\sipbuild\tools
copying sipbuild\tools\wheel.py -> build\lib.win-amd64-3.8\sipbuild\tools
copying sipbuild\tools\__init__.py -> build\lib.win-amd64-3.8\sipbuild\tools
creating build\lib.win-amd64-3.8\sipbuild\module\source
creating build\lib.win-amd64-3.8\sipbuild\module\source\12
copying sipbuild\module\source\12\apiversions.c -> build\lib.win-amd64-3.8\sipbuild\module\source\12
copying sipbuild\module\source\12\array.c -> build\lib.win-amd64-3.8\sipbuild\module\source\12
copying sipbuild\module\source\12\array.h -> build\lib.win-amd64-3.8\sipbuild\module\source\12
copying sipbuild\module\source\12\bool.cpp -> build\lib.win-amd64-3.8\sipbuild\module\source\12
copying sipbuild\module\source\12\descriptors.c -> build\lib.win-amd64-3.8\sipbuild\module\source\12
copying sipbuild\module\source\12\int_convertors.c -> build\lib.win-amd64-3.8\sipbuild\module\source\12
copying sipbuild\module\source\12\LICENSE -> build\lib.win-amd64-3.8\sipbuild\module\source\12
copying sipbuild\module\source\12\LICENSE-GPL2 -> build\lib.win-amd64-3.8\sipbuild\module\source\12
copying sipbuild\module\source\12\LICENSE-GPL3 -> build\lib.win-amd64-3.8\sipbuild\module\source\12
copying sipbuild\module\source\12\MANIFEST.in -> build\lib.win-amd64-3.8\sipbuild\module\source\12
copying sipbuild\module\source\12\objmap.c -> build\lib.win-amd64-3.8\sipbuild\module\source\12
copying sipbuild\module\source\12\pyproject.toml -> build\lib.win-amd64-3.8\sipbuild\module\source\12
copying sipbuild\module\source\12\qtlib.c -> build\lib.win-amd64-3.8\sipbuild\module\source\12
copying sipbuild\module\source\12\README.in -> build\lib.win-amd64-3.8\sipbuild\module\source\12
copying sipbuild\module\source\12\setup.cfg.in -> build\lib.win-amd64-3.8\sipbuild\module\source\12
copying sipbuild\module\source\12\setup.py.in -> build\lib.win-amd64-3.8\sipbuild\module\source\12
copying sipbuild\module\source\12\sip.h.in -> build\lib.win-amd64-3.8\sipbuild\module\source\12
copying sipbuild\module\source\12\sip.pyi -> build\lib.win-amd64-3.8\sipbuild\module\source\12
copying sipbuild\module\source\12\sip.rst.in -> build\lib.win-amd64-3.8\sipbuild\module\source\12
copying sipbuild\module\source\12\sipint.h -> build\lib.win-amd64-3.8\sipbuild\module\source\12
copying sipbuild\module\source\12\siplib.c -> build\lib.win-amd64-3.8\sipbuild\module\source\12
copying sipbuild\module\source\12\threads.c -> build\lib.win-amd64-3.8\sipbuild\module\source\12
copying sipbuild\module\source\12\voidptr.c -> build\lib.win-amd64-3.8\sipbuild\module\source\12
creating build\lib.win-amd64-3.8\sipbuild\module\source\13
copying sipbuild\module\source\13\array.c -> build\lib.win-amd64-3.8\sipbuild\module\source\13
copying sipbuild\module\source\13\array.h -> build\lib.win-amd64-3.8\sipbuild\module\source\13
copying sipbuild\module\source\13\bool.cpp -> build\lib.win-amd64-3.8\sipbuild\module\source\13
copying sipbuild\module\source\13\descriptors.c -> build\lib.win-amd64-3.8\sipbuild\module\source\13
copying sipbuild\module\source\13\int_convertors.c -> build\lib.win-amd64-3.8\sipbuild\module\source\13
copying sipbuild\module\source\13\LICENSE -> build\lib.win-amd64-3.8\sipbuild\module\source\13
copying sipbuild\module\source\13\LICENSE-GPL2 -> build\lib.win-amd64-3.8\sipbuild\module\source\13
copying sipbuild\module\source\13\LICENSE-GPL3 -> build\lib.win-amd64-3.8\sipbuild\module\source\13
copying sipbuild\module\source\13\MANIFEST.in -> build\lib.win-amd64-3.8\sipbuild\module\source\13
copying sipbuild\module\source\13\objmap.c -> build\lib.win-amd64-3.8\sipbuild\module\source\13
copying sipbuild\module\source\13\pyproject.toml -> build\lib.win-amd64-3.8\sipbuild\module\source\13
copying sipbuild\module\source\13\README.in -> build\lib.win-amd64-3.8\sipbuild\module\source\13
copying sipbuild\module\source\13\setup.cfg.in -> build\lib.win-amd64-3.8\sipbuild\module\source\13
copying sipbuild\module\source\13\setup.py.in -> build\lib.win-amd64-3.8\sipbuild\module\source\13
copying sipbuild\module\source\13\sip.h.in -> build\lib.win-amd64-3.8\sipbuild\module\source\13
copying sipbuild\module\source\13\sip.pyi -> build\lib.win-amd64-3.8\sipbuild\module\source\13
copying sipbuild\module\source\13\sip.rst.in -> build\lib.win-amd64-3.8\sipbuild\module\source\13
copying sipbuild\module\source\13\sipint.h -> build\lib.win-amd64-3.8\sipbuild\module\source\13
copying sipbuild\module\source\13\siplib.c -> build\lib.win-amd64-3.8\sipbuild\module\source\13
copying sipbuild\module\source\13\threads.c -> build\lib.win-amd64-3.8\sipbuild\module\source\13
copying sipbuild\module\source\13\voidptr.c -> build\lib.win-amd64-3.8\sipbuild\module\source\13
running build_ext
building 'sipbuild.code_generator' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
----------------------------------------
ERROR: Failed building wheel for sip
Running setup.py clean for sip
Failed to build sip
ERROR: Could not build wheels for sip which use PEP 517 and cannot be installed directly
WARNING: You are using pip version 19.2.3, however version 22.0.4 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\users\user\appdata\local\programs\python\python38\python.exe' 'c:\users\user\appdata\local\programs\python\python38\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\user\AppData\Local\Temp\pip-build-env-kl6ymrd8\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'sip >=6.4, <7' 'PyQt-builder >=1.9, <2' Check the logs for full command output.
My python version is 3.8
I cant change my python version because I will have to install a lot of modules and some errors can come in installing those modules also.

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

Categories