Title: Python error on installing nodegit 0.0.77 · Issue #59 · nodegit/nodegit · GitHub
Open Graph Title: Python error on installing nodegit 0.0.77 · Issue #59 · nodegit/nodegit
X Title: Python error on installing nodegit 0.0.77 · Issue #59 · nodegit/nodegit
Description: I had nodegit 0.0.74 installed and recently got the update to 77. On 'npm update' i got the error posted below. Obviously, the gyp expects 'python' to be version 2.x. I have python 2 and 3 installed. 'python' is a symlink to python 3.3, ...
Open Graph Description: I had nodegit 0.0.74 installed and recently got the update to 77. On 'npm update' i got the error posted below. Obviously, the gyp expects 'python' to be version 2.x. I have python 2 and 3 installe...
X Description: I had nodegit 0.0.74 installed and recently got the update to 77. On 'npm update' i got the error posted below. Obviously, the gyp expects 'python' to be version 2.x. I have python ...
Opengraph URL: https://github.com/nodegit/nodegit/issues/59
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Python error on installing nodegit 0.0.77","articleBody":"I had nodegit 0.0.74 installed and recently got the update to 77. On 'npm update' i got the error posted below. Obviously, the gyp expects 'python' to be version 2.x. I have python 2 and 3 installed. 'python' is a symlink to python 3.3, while python2 is available on my system for python 2.7.\n\nSo: Wouldn't it be possible to try multiple binaries / symlinks via gyp? Maybe: If 'python' is version 3.x, try 'python2'?\n\nHere is the stderr output:\ngyp ERR! configure error \ngyp ERR! stack Error: Python executable \"python\" is v3.3.0, which is not supported by gyp.\ngyp ERR! stack You can pass the --python switch to point to Python \u003e= v2.5.0 \u0026 \u003c 3.0.0.\ngyp ERR! stack at failPythonVersion (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:118:14)\ngyp ERR! stack at /usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:107:9\ngyp ERR! stack at ChildProcess.exithandler (child_process.js:600:7)\ngyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)\ngyp ERR! stack at maybeClose (child_process.js:700:16)\ngyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:767:5)\ngyp ERR! System Linux 3.8.4-1-ARCH\ngyp ERR! command \"node\" \"/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"configure\" \"--python\" \"python\"\ngyp ERR! cwd /home/david/Dokumente/Development/reason/node_modules/nodegit\ngyp ERR! node -v v0.10.1\ngyp ERR! node-gyp -v v0.8.5\ngyp ERR! not ok \nnpm ERR! nodegit@0.0.77 install: `node install.js`\nnpm ERR! `sh \"-c\" \"node install.js\"` failed with 1\nnpm ERR! \nnpm ERR! Failed at the nodegit@0.0.77 install script.\nnpm ERR! This is most likely a problem with the nodegit package,\nnpm ERR! not with npm itself.\nnpm ERR! Tell the author that this fails on your system:\nnpm ERR! node install.js\nnpm ERR! You can get their info via:\nnpm ERR! npm owner ls nodegit\nnpm ERR! There is likely additional logging output above.\n\nnpm ERR! System Linux 3.8.4-1-ARCH\nnpm ERR! command \"/usr/bin/node\" \"/usr/bin/npm\" \"update\"\nnpm ERR! cwd /home/david/Dokumente/Development/reason\nnpm ERR! node -v v0.10.1\nnpm ERR! npm -v 1.2.15\nnpm ERR! code ELIFECYCLE\n","author":{"url":"https://github.com/dctr","@type":"Person","name":"dctr"},"datePublished":"2013-03-25T08:17:08.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/59/nodegit/issues/59"}
| 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:18827b49-d17c-3789-4f4d-5ce01e3a7a60 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A7A4:150CD9:3FB5E0:53AE4D:69715772 |
| html-safe-nonce | 80542ad706e7fa7a7da1c11286ebd9559afac27f71d670dd9172a07dbf7a63cf |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBN0E0OjE1MENEOTozRkI1RTA6NTNBRTREOjY5NzE1NzcyIiwidmlzaXRvcl9pZCI6IjI2MDA5ODIzMzU5NTEyOTYzNzAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | b5c057543eeba7535bd340aaed01a0a642427b4eb1903cd5f9656ac47b5b0a89 |
| hovercard-subject-tag | issue:12390493 |
| 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/nodegit/nodegit/59/issue_layout |
| twitter:image | https://opengraph.githubassets.com/fc49f093613014e8746a4fa4f4a84472014f9c4a0e1541aaa7494e635e4530f7/nodegit/nodegit/issues/59 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fc49f093613014e8746a4fa4f4a84472014f9c4a0e1541aaa7494e635e4530f7/nodegit/nodegit/issues/59 |
| og:image:alt | I had nodegit 0.0.74 installed and recently got the update to 77. On 'npm update' i got the error posted below. Obviously, the gyp expects 'python' to be version 2.x. I have python 2 and 3 installe... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dctr |
| hostname | github.com |
| expected-hostname | github.com |
| None | fd5876ec68f4a61d42f4010f6d1b2764d8ae314777de44028a7708a1d7bac1b5 |
| turbo-cache-control | no-preview |
| go-import | github.com/nodegit/nodegit git https://github.com/nodegit/nodegit.git |
| octolytics-dimension-user_id | 657068 |
| octolytics-dimension-user_login | nodegit |
| octolytics-dimension-repository_id | 1383170 |
| octolytics-dimension-repository_nwo | nodegit/nodegit |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1383170 |
| octolytics-dimension-repository_network_root_nwo | nodegit/nodegit |
| 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 | 8f48ed2345879fb640360c3a24f1d1780c3ed3cb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width