Recommand · June 25, 2021 0

ssh2-python3 gives an error while installing

Does ssh2-python supports python version 3.9? Since the docs say that it supports only till 3.8 . I tried installing ssh2-python3 and it gives me the following error.

Downloading ssh2-python3-0.22.3.tar.gz (601 kB)
|████████████████████████████████| 601 kB 1.7 MB/s
ERROR: Command errored out with exit status 1:
command: ‘c:\users\vimantha\appdata\local\programs\python\python39\python.exe’ -c ‘import io, os, sys, setuptools, tokenize; sys.argv[0] = ‘"’"’C:\Users\Vimantha\AppData\Local\Temp\pip-install-0q402c1h\ssh2-python3_72191c0b577c4aa58ca0476ca84d51a3\setup.py’"’"’; file=’"’"’C:\Users\Vimantha\AppData\Local\Temp\pip-install-0q402c1h\ssh2-python3_72191c0b577c4aa58ca0476ca84d51a3\setup.py’"’"’;f = getattr(tokenize, ‘"’"’open’"’"’, open)(file) if os.path.exists(file) else io.StringIO(‘"’"’from setuptools import setup; setup()’"’"’);code = f.read().replace(‘"’"’\r\n’"’"’, ‘"’"’\n’"’"’);f.close();exec(compile(code, file, ‘"’"’exec’"’"’))’ egg_info –egg-base ‘C:\Users\Vimantha\AppData\Local\Temp\pip-pip-egg-info-izhzs78z’
cwd: C:\Users\Vimantha\AppData\Local\Temp\pip-install-0q402c1h\ssh2-python3_72191c0b577c4aa58ca0476ca84d51a3
Complete output (5 lines):
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\Vimantha\AppData\Local\Temp\pip-install-0q402c1h\ssh2-python3_72191c0b577c4aa58ca0476ca84d51a3\setup.py", line 13, in
from Cython.Distutils.extension import Extension
ModuleNotFoundError: No module named ‘Cython’
—————————————-
WARNING: Discarding https://files.pythonhosted.org/packages/66/cb/b01b78a1e58d2bf6f77ed530ae303818a6d930fd0b777c6bb0c8ad62cc0b/ssh2-python3-0.22.3.tar.gz#sha256=63f20911262979b57694af79e49fcd36f9617af060d85c582a2c2bfb1b9e105b (from https://pypi.org/simple/ssh2-python3/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Could not find a version that satisfies the requirement ssh2-python3 (from versions: 0.22.3, 0.22.5, 0.22.6)
ERROR: No matching distribution found for ssh2-python3

Help me out!