goingnative icon indicating copy to clipboard operation
goingnative copied to clipboard

python switch

Open wanderer opened this issue 11 years ago • 6 comments

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

wanderer avatar Sep 24 '14 23:09 wanderer

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

rvagg avatar Sep 25 '14 01:09 rvagg

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.

wanderer avatar Sep 25 '14 02:09 wanderer

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.

rvagg avatar Sep 25 '14 02:09 rvagg

linux arch

wanderer avatar Sep 25 '14 02:09 wanderer

and yes setting the env var does work!

wanderer avatar Sep 25 '14 02:09 wanderer

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.

rvagg avatar Sep 25 '14 02:09 rvagg