0

I tried installing jupyter notebook without using anaconda and ran into some issues, specifically the red 'Kernel Error' that kept showing up.

However through this ques I was somewhat able to identify the issue where the default pythonpath in the kernel.json file in C:\Users\Ashish\AppData\Roaming\jupyter\kernels\python3 was for anaconda, so I added my python path using where python.

On running jupyter notebook on cmd and opening a .ipynb file causes a popup to show : Could not find a kernel matching Python 3. Please select a kernel, which shows an empty drop down list.

My Updated kernel.json file:

{
 "argv": [
  "C:\Users\Ashish\AppData\Local\Programs\Python\Python38\python.exe",
  "-m",
  "ipykernel_launcher",
  "-f",
  "{connection_file}"
 ],
 "display_name": "Python 3",
 "language": "python"
}
AshishKaul
  • 11
  • 5

1 Answers1

0

Nvm, on running jupyter kernelspec list showed an error:

json.decoder.JSONDecodeError: Invalid \escape: line 3 column 6 (char 18)

Fixed it by using C:\\Users\\Ashish\\AppData\\Local\\Programs\\Python\\Python38\\python.exe in the kernel.json file

AshishKaul
  • 11
  • 5