Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

n causing problems with node-waf ? (bug) #37

Closed
alessioalex opened this issue Oct 29, 2011 · 4 comments
Closed

n causing problems with node-waf ? (bug) #37

alessioalex opened this issue Oct 29, 2011 · 4 comments

Comments

@alessioalex
Copy link

Since I installed n and tried to also install something like GeoIP or anything else that needed compiling with node-waf, I get:

Traceback (most recent call last):
File "/usr/local/bin/node-waf", line 14, in
import Scripting
ImportError: No module named Scripting

I have python 2.7, I run on node 0.4.12 and these things compiled before using n.

I'm no expert, but on a forum I found this:

"In fact nodejs-waf script adds /usr/share/nodejs/wafadmin and Tools/
to sys.path before importing Scripting module.
That might be screwed by setting PREFIX_NODE environment variable.
Is that the case for you ?"

And on n's documentation I seen something mentioned about PREFIX_NODE.

Please look into this, n is perfect and I want to keep using it, but at the same time I sometimes need compiled node modules :)

@tj
Copy link
Owner

tj commented Oct 31, 2011

hmm that scripting thing looks familiar, I thinkkk that's a python version issue, i'll check it out when i have a minute

@tj
Copy link
Owner

tj commented Nov 3, 2011

which os? I just ran into this for osx lion, I noticed ns copies were all messed on lion too

@alessioalex
Copy link
Author

Ubuntu 11.04

@tj
Copy link
Owner

tj commented Nov 3, 2011

hmm weird :s will have to look into this later

@tj tj closed this as completed in 80c8a1f Nov 4, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants