From c19111372659260f516565d5e7a8a96a3c8c24fb Mon Sep 17 00:00:00 2001 From: ethers Date: Sat, 7 Jun 2014 22:41:13 -0700 Subject: [PATCH] Python 2.6 is required for gyp Document the problem (http://stackoverflow.com/questions/21155922/error-installing-node-gyp-on-ubuntu) and suggest a solution (use a Python version manager eg pyenv). This is especially helpful for Ubuntu 14.04 which comes with Python 2.7. --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index a6c7c6d54..d9896b3c1 100644 --- a/README.md +++ b/README.md @@ -73,6 +73,20 @@ Default configuration can be found in the config.js file. See config.js for more info on configuration options. +## Troubleshooting + +### Building on Ubuntu 14.04, gyp, Python + + ``` + gyp_main.py: error: no such option: --no-parallel + gyp ERR! configure error + gyp ERR! stack Error: `gyp` failed with exit code: 2 + ``` + +Ubuntu 14.04 has Python 2.7, but gyp requires Python 2.6 (http://stackoverflow.com/questions/21155922/error-installing-node-gyp-on-ubuntu) + +One solution is to use Copay with a Python version manager for 2.6. + # Development ## Google Chrome Extension