pyspark kernel created using sparkmagic is not showing in the kernel list of jupyter extension in vs code
See original GitHub issueEnvironment data
- VS Code version: 1.62.2
- Jupyter Extension version (available under the Extensions sidebar): v 2021.10.110
- Python Extension version (available under the Extensions sidebar): v. 2021.10.11422169775
- OS (Windows | Mac | Linux distro) and version: Windows 10 Enterprise 20H2 build 19042.1288
- Python and/or Anaconda version: python 3.8.8, Anaconda 3 (64 bits)
- Type of virtual environment used (N/A | venv | virtualenv | conda | …): NA
- Jupyter server running: Local | Remote | local
Expected behaviour
All kernel visible/working in Conda Jupyter Notebook should be the same in VS code jupyter extension
Actual behaviour
pyspark kernel installed using sparkmagic did not show in vs code jupyter extension kernel list, even it worked well with Conda Jupyter Notebook and it showed with command of jupyter kernelspec list
.
Steps to reproduce:
- Install sparkmagic extension (instruction: https://github.com/jupyter-incubator/sparkmagic)
- test in Jupyter Notebook, and it should be available in the kernel list
- Open vs code, choose kernel, it is not showing in the list.
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]
- XXX
Logs
Output for Jupyter
in the Output
panel (View
→Output
, change the drop-down the upper-right of the Output
panel to Jupyter
)
XXX
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Cannot find PySpark kernel - aws glue interactive sessions ...
According to this bug report this issue was fixed a while back VSCode Jupyter Issue 8286. However I'm still experiencing it as are...
Read more >Working with Jupyter Notebooks in Visual Studio Code
You can create a Jupyter Notebook by running the Create: New Jupyter Notebook command ... Next, select a kernel using the kernel picker...
Read more >sparkmagic · master · mct19 / singularity-jupyter-scala · GitLab
Sparkmagic is a set of tools for interactively working with remote Spark ... to start a wrapper kernel for Scala, Python, or R...
Read more >Configuring a session in Jupyter | PySpark Cookbook
The Sparkmagic project includes a set of magics for interactively running Spark code in multiple languages, as well as some kernels that you...
Read more >Configuring AWS Glue interactive sessions for Jupyter and ...
Jupyter Magics are commands that can be run at the beginning of a cell or as a ... with IAM The Jupyter kernel...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
If anyone is wondering where to find the kernelspec:
jupyter kernelspec list
gives a list of all directories specifying kernels, which will containkernel.json
files.@DonJayamanne, I still faced this issue in this version: VSCode 1.71.2 Jupyter Extension v2022.8.1002431955 Python Extension v2022.14.0
This was missing until I updated “python” to the full path
Interestingly, this works fine without it: