Ubuntu: How can I install nbconvert?



Question:

I tried installing nbconvert via the instructions on their readme. The curl line and the pip install line worked flawlessly, but I can't decipher what is meant by:

You will need to either put the source repository in your $PATH or symlink the nbconvert.py script, as well as the css and js subdirectories to a directory in your $PATH.

Any idea where pip installed the app? What's this business about $PATH?


Solution:1

First, download the source and keep it in a folder where you will not move it.

Second, you need to create a symbolik link between the nbconvert.py file, the css and js directories to your $PATH variable with the following command:

sudo ln -s /path_of_source/nbconvert.py /path_of_source/css/ /path_of_source/js/ /usr/bin/

Or

cd /path_of_source/  echo "export PATH=\$PATH:nbconvert.py:js:cdd" >> ~/.profile  reset  

Now you will be available to execute the software from the terminal with nbconvert


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »