Open shyamalschandra opened 8 years ago
No module named shutil_get_terminal_size
It needs this module. Try:
# Upgrade pip
pip install --upgrade setuptools pip
# Install the backport
pip install backports.shutil_get_terminal_size
What about the second error "'ipykernel' is a package and cannot be directly executed" , have you managed to get a solution for this?
That's a confusing error message that Python gives, but I think it's a consequence of whatever comes before it.
Same problem. Have you solved it?
looks like you dont have ipykernel which manages usable kernels for jupyter. I think you should try installing a package "ipykernel" or if the jupyter client was damaged in someway, you should try install it from the scratch after deleting current one.
If you still want to fix it by doing it in hard way, that is manually installing jupyter kernel or locating it correctly, follow the lines below.
if you see those output (kernel paths) but not working, go to the directories and double check they are there.
check the path in it. it contains kernel paths
if they are ok, consider kernels are somehow damaged. Install those manually (few lines of commands) https://ipython.readthedocs.io/en/latest/install/kernel_install.html
if installed but not working, check those kernels are located correctly again, and if wrong, move those to the proper directory jupyter is looking up (in step 1)
I dunno more elegant way but it worked for me! if there is better way to deal with it, pls comment it@!
What should I do?