-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
install error in package ssh2-python #367
Comments
Hi, I had the same problem. I managed to solve it by installing libssh2 with brew and setting up LDFLAGS and CPPFLAGS:
|
had the same issue and with some modification went to success need to change flags path
install cmake (obviously)
after that i got another (openssl) error
even tho openssl was in some obscure version, i did install it thru brew
crate links
and hallelujah ... installing parallel-ssh went finally ok and working (using fresh venv) |
both not working for me? any trouble shooting suggestion? i think this package using cpython to get openssl and problem shall be compiler lib link. |
Same, it happens to me on macOS sequoia with M3. For python 3.11 or older it breaks at
Python3.12 has more issues, maybe the package is not compatible yet. |
Describe the bug
the problem is caused first by
from ssh2.error_codes import LIBSSH2_ERROR_EAGAI
which tries to load error_codes.cpython-37m-darwin.so but fails
the reason is that
'/private/var/folders/zb/t0r1t7451tx4vfhc9jbk2rzr0000gn/T/pip-install-vik15j8x/ssh2-python_fc1f843181664c9aa95e798b0c981b59/build_dir/src/libssh2.1.dylib' (no such file)
To Reproduce
Steps to reproduce the behavior:
Expected behavior
installed
Actual behaviour
error msg
Screenshots
Additional information
on Mac os
cmake and gcc installed
cmake version 3.24.2
gcc 12.2.0
The text was updated successfully, but these errors were encountered: