I am using Visual Studio Code, Jupyter and Anaconda 3.8.5. I have a notebook, in that notebook I cannot select the kernel I want. The kernel is visible, I can click on it, a pop-up below appears stating kernel is switching, but it is not selected.
What I have tried:
Check ipykernel is installed.
Reinstalled Jupyter in that environment.
Tried restarting Visual Studio Code.
Restarted machine.
Tried to see if I could set the kernel using a Visual Studio Code workspace setting (nope).
Ideas appreciated.
Related
I want to use the Wolfram Language with Jupyter notebooks, and VSCode is the application of my choice. I did all the procedure to generated a WolframLanguage kernel for Jupyter.
If I launch the Jupyter notebook from terminal by running jupyter notebook in my terminal, a Jupyter notebook opens in my browser and it shows the Wolfram kernel. These are the kernels returned by terminal.
They show up in the browser-version of Jupyter too.
Now I go to VS Code. I start a new Jupyter notebook by using the following command by using shift+command+P.
Create: New Jupyter Notebook
Now the kernel picker prompts me to choose kernels. Not only does it not have the WolframLanguage kernel, but it also shows completely different kernels from what were returned by the terminal.
Please guide me on how do I make my WolframLanguage kernel appear in my VS Code.
Thanks!!!
I am trying to install wolfram kernel for jupyter notebook (vscode) because vscode extension: wolfram language notebook doesn't work.But when I finished installation something werid happended.
I can find wolfram kernel in command line : jupyter kernelspec list, but not in my vscode
Hope someone can tell me how vscode jupyter works?
So I hope my solution (on Linux) will work for you too:
get the repository:
https://github.com/WolframResearch/WolframLanguageForJupyter
add the kernel by executing: wolframscript configure-jupyter.wls add
check if the kernel is added: jupyter kernelspec list
in vscode search for "select Interpreter to start jupyter server" and select your python version
Now the kernels should be updated and you should be able to choose your installed wolfram kernel.
In case its not working I installed the package
python"version"-wolframalpha
. However I do not know if that is necessary.
I have multiple people working on the same AWS EMR cluster to run some Spark jobs. This is being done through Jupyter Notebooks which are created/modified using the Jupyter extension installed on a SSH Target through vscode. The modules are installed on the base conda environment that is included with the /emr/notebook-env/. Some people can see the correct kernel that is associated with the base conda environment in their vscode window when working on notebooks. However, some don't see this kernel as an option. How do I make sure that everyone's vscode lists the appropriate kernel when they are creating new notebooks or modifying existing notebooks?
Another potential reason this could happen is that the Jupyter exentsion of VSCode is not installed.
To add the Jupyter extension for VSCode, search for it by clicking extensions icon in lefthand toolbar, then searching for Jupyter and installing.
The user having the issue had to update their vscode and that fixed the issue
I reinstalled my vs code, then, when I open the .ipynb in vscode, I also reinstalled the jupyter plugin. But I found the old notebook version opened.
Before I reinstalled these programs, they were still new versions.
I suggest using Anaconda Navigator to download & use a virtual environment that could be easier to use in most cases.To use the virtual environment use -
Ctrl+Shift+P or Python: Select Interpreter command from the Command Palette.However,please make sure to add environment variables to your VS-Code.
Otherwise,best bet may be to use the Jupyter notebook from Anaconda Navigator which pretty much does the same thing
Whenever I open VS Code & go to Extensions, it always shows Jupyter as Installing, Why is it so?