From a fresh clone of this repo, master branch, I modified the first line to be this:
#!/usr/bin/python3
It crashes:
./ssh-ident me@somehost
Traceback (most recent call last):
File "./ssh-ident", line 316, in <module>
import distutils.spawn
ModuleNotFoundError: No module named 'distutils.spawn'
Python3's distutils module has a different interface from python2, but my sense is that you're mainly using it for the find_executable feature. There is shutil.which() in python3 that might be a good alternative.
From a fresh clone of this repo, master branch, I modified the first line to be this:
It crashes:
Python3's distutils module has a different interface from python2, but my sense is that you're mainly using it for the
find_executable
feature. There isshutil.which()
in python3 that might be a good alternative.