Title: From source builds do not include embedded libssh2 in package · Issue #51 · ParallelSSH/ssh2-python · GitHub
Open Graph Title: From source builds do not include embedded libssh2 in package · Issue #51 · ParallelSSH/ssh2-python
X Title: From source builds do not include embedded libssh2 in package · Issue #51 · ParallelSSH/ssh2-python
Description: Bug reports Steps to reproduce: Run pip install ssh2-python on Travis when using PyPy. (I have tried with both 2.7 and 3.5 versions of PyPy 6.0. In the pypy interpreter, try to run from ssh2.session import Session. from ssh2.session impo...
Open Graph Description: Bug reports Steps to reproduce: Run pip install ssh2-python on Travis when using PyPy. (I have tried with both 2.7 and 3.5 versions of PyPy 6.0. In the pypy interpreter, try to run from ssh2.sessio...
X Description: Bug reports Steps to reproduce: Run pip install ssh2-python on Travis when using PyPy. (I have tried with both 2.7 and 3.5 versions of PyPy 6.0. In the pypy interpreter, try to run from ssh2.sessio...
Opengraph URL: https://github.com/ParallelSSH/ssh2-python/issues/51
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"From source builds do not include embedded libssh2 in package","articleBody":"### Bug reports\r\n\r\n__Steps to reproduce:__\r\n\r\n1. Run `pip install ssh2-python` on Travis when using PyPy. (I have tried with both 2.7 and 3.5 versions of PyPy 6.0.\r\n2. In the pypy interpreter, try to run `from ssh2.session import Session`.\r\n3. ```\r\n from ssh2.session import Session\r\n E ImportError: unable to load extension module '/home/travis/virtualenv/pypy2.7-6.0.0/\r\n site-packages/ssh2/session.pypy-41.so': libssh2.so.1: cannot open shared object file: \r\n No such file or directory\r\n ```\r\n\r\nI also tried installing the `libssh2-1-dev` package on Travis first, and got a slightly different error message:\r\n\r\n```\r\nImportError: unable to load extension module '/home/travis/virtualenv/pypy2.7-6.0.0/\r\n site-packages/ssh2/session.pypy-41.so': /home/travis/virtualenv/pypy2.7-6.0.0/site-\r\n packages/ssh2/session.pypy-41.so: undefined symbol: libssh2_session_set_last_error\r\n```\r\n\r\n__Expected behaviour:__ Able to import `Session` properly in PyPy.\r\n\r\n__Actual behaviour:__ Exceptions above.\r\n\r\n__Additional info:__ Ubuntu 16.04. You can see multiple failed attempts on Travis (as part of a project that was trying to use `parallel-ssh` [here](https://travis-ci.org/Parsely/streamparse/jobs/465057310) and [here](https://travis-ci.org/Parsely/streamparse/jobs/465115416).\r\n","author":{"url":"https://github.com/dan-blanchard","@type":"Person","name":"dan-blanchard"},"datePublished":"2018-12-07T20:28:05.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/51/ssh2-python/issues/51"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:2600629a-9801-e2c9-f4b9-b0e5bb2229f2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C9E6:2C2C4D:1734F5E:1FE8828:696AA752 |
| html-safe-nonce | c7633c524ef1022911a2c658bc939ba8232cc69e4bbbfdbbe97066d615c99a01 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOUU2OjJDMkM0RDoxNzM0RjVFOjFGRTg4Mjg6Njk2QUE3NTIiLCJ2aXNpdG9yX2lkIjoiNzg0NTQ4NTg2Nzk0ODQ4NDQzNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d58220829b1808285406ec0dcfc04fb4c5886689c82da4f816932a8dc4cd435f |
| hovercard-subject-tag | issue:388802872 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/ParallelSSH/ssh2-python/51/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c6c3d153334e35cf41006ba8876133d6d12134af7b5acb54cdc2654bc9bcf597/ParallelSSH/ssh2-python/issues/51 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c6c3d153334e35cf41006ba8876133d6d12134af7b5acb54cdc2654bc9bcf597/ParallelSSH/ssh2-python/issues/51 |
| og:image:alt | Bug reports Steps to reproduce: Run pip install ssh2-python on Travis when using PyPy. (I have tried with both 2.7 and 3.5 versions of PyPy 6.0. In the pypy interpreter, try to run from ssh2.sessio... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dan-blanchard |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3eaf9b8cf1badcd7041a8ad480b9d9b28bea0ef1cc821ca9ff20f2cc7f4fe4b9 |
| turbo-cache-control | no-preview |
| go-import | github.com/ParallelSSH/ssh2-python git https://github.com/ParallelSSH/ssh2-python.git |
| octolytics-dimension-user_id | 22918200 |
| octolytics-dimension-user_login | ParallelSSH |
| octolytics-dimension-repository_id | 98586974 |
| octolytics-dimension-repository_nwo | ParallelSSH/ssh2-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 98586974 |
| octolytics-dimension-repository_network_root_nwo | ParallelSSH/ssh2-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | dd9a979046e6382bd084e2bd873bf65f797125ff |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width