Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

share|improve this question
1  
1  
@EliahKagan, this is a two-part question (semi)specific to nbconvert. –  blz Jan 9 '13 at 8:21
1  
That makes sense. If this can be answered specifically to this situation, we may as well keep it open. Is Lucio's answer sufficient to your needs? If so, I recommend accepting it (and perhaps upvoting it as well). –  Eliah Kagan Jan 9 '13 at 8:23
add comment

1 Answer 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

share|improve this answer
    
tried adding nbconvert to my PATH using your second method, but I'm still getting an No command 'nbconvert' found message. I'm still unclear on the symlink approach. In your example command, should I be located in the nbconvert base directory, such that my command would look like sudo ln -s ./nbconvert.py ./css/ ./js/ /usr/bin? –  blz Jan 9 '13 at 8:36
    
Mmmm, first of all, that command is wrong, because you are prepending a dot to the files and that is not good (./file). –  Lucio Jan 9 '13 at 23:53
    
@blz I've created a chat room to put information and keep a better communication.. Please, go there to see my messages. –  Lucio Jan 9 '13 at 23:54
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.