Datacrawler
Datacrawler

Reputation: 2876

Install JS Node in Jupyter Notebook

I am trying to run Javascript in Jupyter Notebook (unless there is an equivalent notebook in JS where I can test my scripts easily) and for instance I want to run the following:

import pixiedust_node
%%node
var date = new Date();
print(date);

In order to install everything I tried:

pip install pixiedust , pip install pixiedust_node , conda install -c akode pixiedust , jupyter pixiedust install

and still, when I am trying to load the code in Jupyter, I am getting this:

enter image description here

and after trying this: conda install -c anaconda nodejs or even this: conda install -c conda-forge nodejs

Upvotes: 8

Views: 21878

Answers (1)

grokked
grokked

Reputation: 411

you can actually try to use https://github.com/n-riesco/ijavascript as the kernel for the notebook instead of using node over python

Upvotes: 5

Related Questions