n-riesco / ijavascript

IJavascript is a javascript kernel for the Jupyter notebook
Other
2.18k stars 187 forks source link

Node.js v10 install #177

Closed cuiyanbo2019 closed 5 years ago

cuiyanbo2019 commented 5 years ago

Hello,thanks for creating a tool to write notes.I want to use ijavascript to learn javascript. I use win10. but when I install it, it stopped in the libzmq. I don't know whether it can't download the libzmq or it already downloads but can't install. I also find the other way to install libzmq but it seems to be difficult to install libzmq in windows. what should I do now? Thanks for your help.

n-riesco commented 5 years ago

If you don't want the hassle of compiling zeromq.js, you could use the previous LTS version of Node.js.

Unfortunately, at this time, there are no prebuilt binaries of zeromq.js for Node.js v10.

Wismin-Effendi commented 5 years ago

installation on win10 won't work since the rebuild of node-gyp.js still using python 2.7 syntax.

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: C:\Python37\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]; gyp ERR! stack ^ gyp ERR! stack SyntaxError: invalid syntax

n-riesco commented 5 years ago

@Wismin-Effendi I've opened a new issue to document your problem (see #181).

Closing this issue in favour of #165