You are not logged in.

#1 2011-02-17 18:15:23

tbranyen
Member
Registered: 2011-02-17
Posts: 6

node-waf compilation fails with python issues

I've been working with nodejs development on my laptop that has a nearly identical setup to my desktop.  Both are Intel Core arch, 64bit arch linux, and both run python3 and python2.

When I run the node-waf command from the laptop I get the expected compilation and linking commands.  No errors.

When I run the node-waf command from the desktop I get the following output:

Traceback (most recent call last):
  File "/usr/local/bin/node-waf", line 14, in <module>
    import Scripting
  File "/usr/local/bin/../lib/node/wafadmin/Scripting.py", line 7, in <module>
    import os, sys, shutil, traceback, datetime, inspect, errno
  File "/usr/lib/python2.7/inspect.py", line 42, in <module>
    from collections import namedtuple
ImportError: cannot import name namedtuple

I'm able to import namedtupe in the Python shell.  I can't figure out what would cause this issue, and any advice/assistance would be much appreciated.

Last edited by tbranyen (2011-02-17 18:16:14)

Offline

Board footer

Powered by FluxBB