electron-vibrancy icon indicating copy to clipboard operation
electron-vibrancy copied to clipboard

Can't find python executable

Open miguelrg28 opened this issue 6 years ago • 5 comments

image

I have python in the environment variable and I put the npm config set python in the correct location.

miguelrg28 avatar Mar 29 '18 04:03 miguelrg28

Hello @Miguel-Gen, first of all, look if there's python in your PATH, you can search it: where python. I don't know what environment you're having, and I assume you're on Windows. In this case, I recommend you to install windows-build-tools by: npm install --global --production windows-build-tools and then try again, this method will install python in C:\Users\[username]\.windows-build-tools\python27\python.exe, and it should take care on setting up python automatically. If that's not working or you encountered some other errors, come back and tell us the things you've tried.

23phy avatar Mar 29 '18 22:03 23phy

@23phy I'm going to try this. I am on Windows 10

miguelrg28 avatar Mar 29 '18 22:03 miguelrg28

@Miguel-Gen i forgot to mention, to install it globally and automatically setting python up, you must use a powershell or command prompt with admin rights.

23phy avatar Mar 30 '18 02:03 23phy

image Fails after setting up phyton either.. I never used phyton so far - did I do something wrong?

DevCubeHD avatar Aug 13 '18 18:08 DevCubeHD

'node-gyp' supports only python 2.7

michalzaq12 avatar Mar 07 '19 12:03 michalzaq12