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

which version of python does this require to run ? #25

Open
jessycormier opened this issue Feb 3, 2019 · 2 comments
Open

which version of python does this require to run ? #25

jessycormier opened this issue Feb 3, 2019 · 2 comments

Comments

@jessycormier
Copy link

I'm wondering what version of python is required for the install to work? I've installed the latest with binaries and path, however I get this error

prebuild-install WARN install No prebuilt binaries found (target=9.11.1 runtime=node arch=x64 platform=win32)
gyp ERR! configure error
gyp ERR! stack Error: Command failed: XXXXX\AppData\Local\Programs\Python\Python37-32\python.EXE -c import sys; print "%s.%s.%s" % sys.version_info[:3];
gyp ERR! stack File "", line 1
gyp ERR! stack import sys; print "%s.%s.%s" % sys.version_info[:3];

@bizbink
Copy link

bizbink commented Aug 2, 2019

I've gotten this running with the most recent builds using:

  • Raspbian Buster or Windows 64 w/ VS2019
  • NodeJS 10.15.3
  • Python 2.7.16

node-gyp and prebuild-install must be install globally for permission access.

If you've installed node-gyp before VS2019 support, here's a fix -> nodejs/node-gyp#1747 (comment)

@Jagadesh-Ram
Copy link

Guys i have was facing this issue for an entire day at my work, just now solved by just copy pasting the MSBuild.exe file in C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\MSBuild\Current\Bin to C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\MSBuild\15.0\Bin.

I tried all the suggested methods in this thread none worked. If anyone happened to face this issue straight away use npm install --global --production windows-build-tools --vs2019 or --vs2017 .
and copy paste the exe file.

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

3 participants