Closed jonmcclung closed 6 years ago
Yeah, gyp is implemented in Python 2, and the version of it we're using is a deprecated fork so it's unlikely to change. The easiest workaround I could think of would be to edit the main gyp script to refer to python2, or wrap your Djinni build in a script to alter your path or aliases so that python
maps to Python 2.
That worked, thank you! For future users who may run into the same problem, manually creating a symbolic link so that the value returned by which python
is pointing to python2 fixed it.
The steps I have taken so far:
I get the following error:
This seems to me to be related to the version of Python. That is, I believe it expects me to be using Python 2 when in fact I have both Python 2 and Python 3 installed, and Python 3 is the default. Is there a way for me to specify it should use Python 2 instead, or is there something else I'm doing wrong?