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\’"’"’; file=’"’"’C:\Users\Vimantha\AppData\Local\Temp\pip-install-0q402c1h\ssh2-python3_72191c0b577c4aa58ca0476ca84d51a3\’"’"’;f = getattr(tokenize, ‘"’"’open’"’"’, open)(file) if os.path.exists(file) else io.StringIO(‘"’"’from setuptools import setup; setup()’"’"’);code =‘"’"’\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\", line 13, in
from Cython.Distutils.extension import Extension
ModuleNotFoundError: No module named ‘Cython’
WARNING: Discarding (from Command errored out with exit status 1: python 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!