-
Notifications
You must be signed in to change notification settings - Fork 73
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
Update from source build documentation #165
Comments
Thanks for the interest and report. From log output:
OpenSSL is required for from source installations. See documentation. |
Openssl is installed
This package is able to install on Intel based Macs but not Apple Silicon |
@pkittenis Can we reopen this? |
Can try:
To use system library instead of building embedded libssh2. Otherwise will have to set Source build docs could use an update with instructions. |
Setting SYSTEM_LIBSSH2=1 did not work but setting OPENSSL_ROOT_DIR did. The documentation states that |
There are no wheels provided for Apple Silicon Mac. The above is a from source build. |
Bug reports
ERROR: Command errored out with exit status 1: /Library/Frameworks/Python.framework/Versions/3.10/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/vy/wtkzjlqx7kv442vcjx4mh9400000gn/T/pip-install-jlfhuw96/ssh2-python_a5fdf50f6e8f430f9993603a5bb86f32/setup.py'"'"'; file='"'"'/private/var/folders/vy/wtkzjlqx7kv442vcjx4mh9400000gn/T/pip-install-jlfhuw96/ssh2-python_a5fdf50f6e8f430f9993603a5bb86f32/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /private/var/folders/vy/wtkzjlqx7kv442vcjx4mh9400000gn/T/pip-record-odjgx9ar/install-record.txt --single-version-externally-managed --compile --install-headers /Library/Frameworks/Python.framework/Versions/3.10/include/python3.10/ssh2-python Check the logs for full command output.
Steps to reproduce:
Expected behaviour:
Able to install and use ssh2_python
Actual behaviour:
Find_package fails to find libssh and cmake install command errors out
Additional info:
libssh2: stable 1.10.0 (bottled)
ssh2_python_install_error.txt
The text was updated successfully, but these errors were encountered: