ParallelSSH / parallel-ssh

Asynchronous parallel SSH client library.
https://parallel-ssh.org
GNU Lesser General Public License v2.1
1.2k stars 148 forks source link

Can't get an installation that doesn't crash on a particular linux installation #376

Open max-l opened 1 year ago

max-l commented 1 year ago

I get the following crash when importing pssh.clients.SSHClient

 python3
Python 3.9.16 (main, Jan 11 2023, 16:05:54) 
[GCC 11.2.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from pssh.clients import SSHClient 
Illegal instruction

The os is a rockylinux running on a ubuntu machine,

uname -a: Linux ip02-rockylinux8 5.4.0-144-generic #161-Ubuntu SMP Fri Feb 3 14:49:04 UTC 2023 x86_64 GNU/Linux

The package was installed with :

pip3 install parallel-ssh 
Looking in links: /cvmfs/soft.computecanada.ca/custom/python/wheelhouse/gentoo/avx, /cvmfs/soft.computecanada.ca/custom/python/wheelhouse/gentoo/generic, /cvmfs/soft.computecanada.ca/custom/python/wheelhouse/generic
Collecting parallel-ssh
  Using cached parallel_ssh-2.12.0-py3-none-any.whl (83 kB)
Collecting ssh2-python
  Downloading ssh2_python-1.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.6 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.6/3.6 MB 10.0 MB/s eta 0:00:00
Collecting ssh-python
  Downloading ssh_python-1.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.5 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.5/2.5 MB 19.0 MB/s eta 0:00:00
Requirement already satisfied: gevent>=1.3.0 in /net/nfs-ip32/openprot-pipelines/prod/miniconda3/envs/openprot-prod/lib/python3.9/site-packages (from parallel-ssh) (21.1.2+computecanada)
Requirement already satisfied: greenlet<2.0,>=0.4.17 in /net/nfs-ip32/openprot-pipelines/prod/miniconda3/envs/openprot-prod/lib/python3.9/site-packages (from gevent>=1.3.0->parallel-ssh) (1.1.0+computecanada)
Requirement already satisfied: zope.interface in /net/nfs-ip32/openprot-pipelines/prod/miniconda3/envs/openprot-prod/lib/python3.9/site-packages (from gevent>=1.3.0->parallel-ssh) (5.4.0+computecanada)
Requirement already satisfied: zope.event in /net/nfs-ip32/openprot-pipelines/prod/miniconda3/envs/openprot-prod/lib/python3.9/site-packages (from gevent>=1.3.0->parallel-ssh) (4.6)
Requirement already satisfied: setuptools in /net/nfs-ip32/openprot-pipelines/prod/miniconda3/envs/openprot-prod/lib/python3.9/site-packages (from gevent>=1.3.0->parallel-ssh) (65.6.3)
Installing collected packages: ssh2-python, ssh-python, parallel-ssh
Successfully installed parallel-ssh-2.12.0 ssh-python-1.0.0 ssh2-python-1.0.0