npm install fails
Hi. I am trying to install the repo on my system with Windows 10. Python 3.5 and Nodejs 10.16.0. When i run npm install i get the following error
`path\electron-python-example-master\electron-python-example-master>npm install
[email protected] install path\electron-python-example-master\electron-python-example-master\node_modules\zeromq node scripts/prebuild-install.js || (node scripts/preinstall.js && node-gyp rebuild)
prebuild-install WARN install No prebuilt binaries found (target=10.16.0 runtime=node arch=x64 platform=win32)
Downloading libzmq for Windows Download finished
path\electron-python-example-master\electron-python-example-master\node_modules\zeromq>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
gyp ERR! configure error
gyp ERR! stack Error: Command failed: path\AppData\Local\Programs\Python\Python35\python.EXE -c import sys; print "%s.%s.%s" % sys.version_info[:3];
gyp ERR! stack File "node scripts/prebuild-install.js || (node scripts/preinstall.js && node-gyp rebuild)
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in: npm ERR! path\AppData\Roaming\npm-cache_logs\2019-06-07T06_09_01_680Z-debug.log`
Is this repo not compatible with Python 3.5?
This is because you have python3. You need python2.7 for building libzmpq. See error.
gyp ERR! stack import sys; print "%s.%s.%s" % sys.version_info[:3]; If yo have both python3 and python2 add python2 to your path first. I have also searched for the python3 support of libzmq. couldnt find a answer. :(