Closed aikimcr closed 10 years ago
Can you update to python 2.7 and try again?
Actually, that's going to be a problem. Upgrading Python at this point is not going to be approved. That's an infrastructure change which will affect customers. It's likely to be a month or more before I'll be allowed to do that.
On Oct 4, 2014, at 2:02 AM, 3y3 wrote:
Can you updeta to python 2.7 and try again?
— Reply to this email directly or view it on GitHub.
Have you problems with other binary packages for Node JS?
Also I see that you already have python 2.7, so problem isn't here. How about update node-gyp? (my version is 0.13.0)
No problems that I know of. I just tried blowing away and reinstalling all the node modules we use. None of them appear to use node-gyp, but at least one of them compiles a binary.
Upgrading node-gyp might be challenging. We are on 10.6 which is the highest version currently available for CentOS 6.2. So I tried just blowing away the node-gyp directory under /usr/lib/node_modules and doing ‘npm install -g node-gyp’. No joy, it still errors out trying install v8-debug.
On Oct 6, 2014, at 6:41 AM, 3y3 notifications@github.com wrote:
Have you problems with other binary packages for Node JS?
Also I see that you already have python 2.7, so problem isn't here. How about update node-gyp? (my version is 0.13.0)
— Reply to this email directly or view it on GitHub.
I'm not very familiar with python, can you explain me, why python2.6 used here
File "/usr/lib/python2.6/site-packages/gyp/__init__.py", line 462, in main
options.circular_check)
and python2.7 here
[root@argon node-inspector]# python
Python 2.7.4 (default, Apr 17 2013, 09:54:46)
Is this expected behavior?
Problem solved. I talked to our Python guy here and he and I looked into node-gyp. The install must be run with the ‘PYTHON’ environment variable set to point to the correct version of Python.
So, this is Good News, really. We have a similar problem with Perl, so we have strategies to deal with it. I can honestly say this is the first time I’ve seen it with Python. But, of course, Python is a relatively new part of our system.
On Oct 6, 2014, at 1:48 PM, 3y3 notifications@github.com wrote:
I'm not very familiar with python, can you explain me, why python2.6 used here
File "/usr/lib/python2.6/site-packages/gyp/init.py", line 462, in main options.circular_check) and python2.7 here
[root@argon node-inspector]# python Python 2.7.4 (default, Apr 17 2013, 09:54:46) Is this expected behavior?
— Reply to this email directly or view it on GitHub.
The following solution worked for me. This is how I configured node-gyp to use Python 2.7 under CentOS 6.3 (using instructions suggested by node-gyp):
npm config set python /usr/bin/python2.7
I spent a little time trying to troubleshoot without much success. All other packages not dependent on this one are installing fine. The error occurs on 0.1.0, 0.1.5 and 0.2.0.