Hi. I’m new to Github and Jupyter, so sorry for my mistakes.
I installed Jupyter today using pip. And launched jupyter lab
it was all fine, but my Python code didn’t run at all! I checked out many tutorials and docs available but nothing helped. If I press Shift + Enter
in a cell, there was no output and actually my code in cell wasn’t given any syntax-highlight at all (like print
wasn’t given green colour and strings weren’t given red colour etc.)
Frustrated, I quit Jupyter and saw that my Terminal has been throwing some errors. I tried to read them and it was like import error : ipython... auto_prompt can't be imported <blah blah>
(Sorry I didn’t give much focus to the error) But I had a basic thought that it was something related to ipython
itself, so I typed ipython3
in my Terminal (which I had already installed using apt
and been using for months) but this time, instead of running fine (as usual) it threw the same error Jupyter had.
Then I removed ipython3
using sudo apt remove ipython3
and installed it again using pip3 install ipython --user
and everything now works fine and perfect !
So what I actually want to ask is, is there any difference in using the repository’s ipython
and one given by pip
??