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

python switch #45

Open
wanderer opened this issue Sep 24, 2014 · 6 comments
Open

python switch #45

wanderer opened this issue Sep 24, 2014 · 6 comments

Comments

@wanderer
Copy link

The python switch doesn't seem to working. I would like todo
goingnative verify --python=python2.7

@rvagg
Copy link
Contributor

rvagg commented Sep 25, 2014

Oh, I don't think we have a --python switch. Can you paste in the error that's preventing you from verifying?

@wanderer
Copy link
Author

Here is the error its throwing

✗ Check forpython: Python executable "/usr/bin/python" is v3.4.1, which is not supported by gyp. You can pass the --python switch to point to Python >= v2.5.0 & < 3.0.0.

python is pointing to py3 instead of 2. I normally just pass --python=python2.7 to npm.

@rvagg
Copy link
Contributor

rvagg commented Sep 25, 2014

oh, right .. what OS is this btw? looks like I need to hop on and do some testing.

Try this:

PYTHON=python2.7 goingnative verify

and see if you have better luck with that.

@wanderer
Copy link
Author

linux arch

@wanderer
Copy link
Author

and yes setting the env var does work!

@rvagg
Copy link
Contributor

rvagg commented Sep 25, 2014

cool, Arch is one distro I have very little experience with, I'd better spin up a VM and have a play! thanks for reporting this.

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