пишу команду:
pip install M2Crypto
Выдаёт ошибку:
Collecting M2Crypto
Using cached M2Crypto-0.41.0.tar.gz (1.2 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: M2Crypto
Building wheel for M2Crypto (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for M2Crypto (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [55 lines of output]
INFO:run_command:running bdist_wheel
INFO:run_command:running build
INFO:run_command:running build_py
INFO:copy_file:copying src\M2Crypto\ASN1.py -> build\lib.win-amd64-cpython-311\M2Crypto
INFO:copy_file:copying src\M2Crypto\AuthCookie.py -> build\lib.win-amd64-cpython-311\M2Crypto
INFO:copy_file:copying src\M2Crypto\BIO.py -> build\lib.win-amd64-cpython-311\M2Crypto
INFO:copy_file:copying src\M2Crypto\BN.py -> build\lib.win-amd64-cpython-311\M2Crypto
INFO:copy_file:copying src\M2Crypto\callback.py -> build\lib.win-amd64-cpython-311\M2Crypto
INFO:copy_file:copying src\M2Crypto\DH.py -> build\lib.win-amd64-cpython-311\M2Crypto
INFO:copy_file:copying src\M2Crypto\DSA.py -> build\lib.win-amd64-cpython-311\M2Crypto
INFO:copy_file:copying src\M2Crypto\EC.py -> build\lib.win-amd64-cpython-311\M2Crypto
INFO:copy_file:copying src\M2Crypto\Engine.py -> build\lib.win-amd64-cpython-311\M2Crypto
INFO:copy_file:copying src\M2Crypto\Err.py -> build\lib.win-amd64-cpython-311\M2Crypto
INFO:copy_file:copying src\M2Crypto\EVP.py -> build\lib.win-amd64-cpython-311\M2Crypto
INFO:copy_file:copying src\M2Crypto\ftpslib.py -> build\lib.win-amd64-cpython-311\M2Crypto
INFO:copy_file:copying src\M2Crypto\httpslib.py -> build\lib.win-amd64-cpython-311\M2Crypto
INFO:copy_file:copying src\M2Crypto\m2.py -> build\lib.win-amd64-cpython-311\M2Crypto
INFO:copy_file:copying src\M2Crypto\m2urllib.py -> build\lib.win-amd64-cpython-311\M2Crypto
INFO:copy_file:copying src\M2Crypto\m2urllib2.py -> build\lib.win-amd64-cpython-311\M2Crypto
INFO:copy_file:copying src\M2Crypto\m2xmlrpclib.py -> build\lib.win-amd64-cpython-311\M2Crypto
INFO:copy_file:copying src\M2Crypto\Rand.py -> build\lib.win-amd64-cpython-311\M2Crypto
INFO:copy_file:copying src\M2Crypto\RC4.py -> build\lib.win-amd64-cpython-311\M2Crypto
INFO:copy_file:copying src\M2Crypto\RSA.py -> build\lib.win-amd64-cpython-311\M2Crypto
INFO:copy_file:copying src\M2Crypto\SMIME.py -> build\lib.win-amd64-cpython-311\M2Crypto
INFO:copy_file:copying src\M2Crypto\threading.py -> build\lib.win-amd64-cpython-311\M2Crypto
INFO:copy_file:copying src\M2Crypto\util.py -> build\lib.win-amd64-cpython-311\M2Crypto
INFO:copy_file:copying src\M2Crypto\X509.py -> build\lib.win-amd64-cpython-311\M2Crypto
INFO:copy_file:copying src\M2Crypto\__init__.py -> build\lib.win-amd64-cpython-311\M2Crypto
INFO:mkpath:creating build\lib.win-amd64-cpython-311\M2Crypto\SSL
INFO:copy_file:copying src\M2Crypto\SSL\cb.py -> build\lib.win-amd64-cpython-311\M2Crypto\SSL
INFO:copy_file:copying src\M2Crypto\SSL\Checker.py -> build\lib.win-amd64-cpython-311\M2Crypto\SSL
INFO:copy_file:copying src\M2Crypto\SSL\Cipher.py -> build\lib.win-amd64-cpython-311\M2Crypto\SSL
INFO:copy_file:copying src\M2Crypto\SSL\Connection.py -> build\lib.win-amd64-cpython-311\M2Crypto\SSL
INFO:copy_file:copying src\M2Crypto\SSL\Context.py -> build\lib.win-amd64-cpython-311\M2Crypto\SSL
INFO:copy_file:copying src\M2Crypto\SSL\Session.py -> build\lib.win-amd64-cpython-311\M2Crypto\SSL
INFO:copy_file:copying src\M2Crypto\SSL\SSLServer.py -> build\lib.win-amd64-cpython-311\M2Crypto\SSL
INFO:copy_file:copying src\M2Crypto\SSL\timeout.py -> build\lib.win-amd64-cpython-311\M2Crypto\SSL
INFO:copy_file:copying src\M2Crypto\SSL\TwistedProtocolWrapper.py -> build\lib.win-amd64-cpython-311\M2Crypto\SSL
INFO:copy_file:copying src\M2Crypto\SSL\__init__.py -> build\lib.win-amd64-cpython-311\M2Crypto\SSL
INFO:run_command:running egg_info
INFO:write_pkg_info:writing src\M2Crypto.egg-info\PKG-INFO
INFO:write_file:writing dependency_links to src\M2Crypto.egg-info\dependency_links.txt
INFO:write_file:writing requirements to src\M2Crypto.egg-info\requires.txt
INFO:write_file:writing top-level names to src\M2Crypto.egg-info\top_level.txt
INFO:read_manifest:reading manifest file 'src\M2Crypto.egg-info\SOURCES.txt'
INFO:read_template:reading manifest template 'MANIFEST.in'
WARNING:process_template_line:warning: no files found matching 'src\SWIG\_m2crypto_wrap.c'
WARNING:process_template_line:warning: no files found matching 'src\M2Crypto\m2crypto.py'
INFO:add_license_files:adding license file 'LICENCE'
INFO:execute:writing manifest file 'src\M2Crypto.egg-info\SOURCES.txt'
INFO:run_command:running build_ext
INFO:build_extension:building 'M2Crypto._m2crypto' extension
INFO:swig_sources:swigging src/SWIG/_m2crypto.i to src/SWIG/_m2crypto_wrap.c
INFO:spawn:swig.exe -python -IC:\Users\r_kri\AppData\Local\Programs\Python\Python311\include -IC:\Users\r_kri\AppData\Local\Programs\Python\Python311\Include -I/usr/include/openssl -includeall -builtin -outdir build\lib.win-amd64-cpython-311\M2Crypto -o src/SWIG/_m2crypto_wrap.c src/SWIG/_m2cryp
to.i
error: command 'swig.exe' failed: None
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for M2Crypto
Failed to build M2Crypto
ERROR: Could not build wheels for M2Crypto, which is required to install pyproject.toml-based projects