pyjs icon indicating copy to clipboard operation
pyjs copied to clipboard

not installing on windows

Open JonathonRP opened this issue 8 years ago • 3 comments

cant seem to get it to install. windows 10 is my version and it seems to be falling in to the Linux condition for node-gyp rebuild. quick guess is, maybe check your order of conditions or the number of equal signs.

JonathonRP avatar Aug 18 '17 18:08 JonathonRP

I have built it on Windows successfully in the past, so I assume this is related to the update of node.js or python. I'll check the build later, but could you please provide more details such as the error output? Thanks.

swordfeng avatar Aug 18 '17 18:08 swordfeng

here is the error output.

Edit: moved to https://gist.github.com/swordfeng/7d77c31d401586890d0692bccf1e83d5

JonathonRP avatar Aug 18 '17 18:08 JonathonRP

I'm afraid that I hadn't updated npm before so it remains the linux-only binding.gyp... I just updated it, so please try again. Well, and you must add python 3.5+ directory to your PATH (and also use --python argument to acknowledge npm the path to python2). I made successful build on AppVeyor to which you can refer.

swordfeng avatar Aug 20 '17 18:08 swordfeng