Closed
Description
For general questions please use the mail group.
Describe the bug
A clear and concise description of what the bug is.
Using this python 3.10 crashes with:
ImportError: /lib/python3.10/site-packages/pssh/native/_ssh2.cpython-310-x86_64-linux-gnu.so: undefined symbol: _PyGen_Send
To Reproduce
Steps to reproduce the behavior:
- Create a virtualenv with python3.10
- $ /bin/pip install parallel-ssh
- $ <venv/bin/python3.10 -c "from pssh.clients import ParallelSSHClient"
Expected behavior
Import should work
Actual behaviour
Crash!
Additional information
I get parallel-ssh 1.13.0 installed. It looks to be a common problem with the version of cython that was used to generate files and python 3.10. It still crashes if I install cython 0.29.27 into the venv and then run:
pip install --no-binary "parallel-ssh,ssh2-python" parallel-ssh==1.13.0
See
cython/cython#3876
for more discussion on the issue.
Metadata
Metadata
Assignees
Labels
No labels