Kernel of Jupyter notebook in VScode cannot work - jupyter

The kernel failed to start as 'filefind' could not be imported from 'd:\anaconda\lib\site-packages\traitlets\utils_init_.py'.
View Jupyter log for further details.

Related

Wolfram Language kernel not visible in VSCode

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!!!

Can't find kernel for vscode jupyter

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.

PyCharm freezes after executing IPython Notebook cell

My PyCharm freezes after running any code in .ipynb (Jupyter Notebook) file.
i.e. the cell starts running and after that PyCharm doesnt respond and I have to kill it. No message is shown.
.py scripts are running correctly. Can anyone help?
My versions:
PyCharm Community Edition 2016.2.3 (Ubuntu 16.04)
ipython 5.1.0 py35_0
jupyter 1.0.0 py35_3
notebook 4.2.3 py35_0
It appears that your jupyter kernel is not running.
I have had success by first starting a jupyter notebook from the command line:
$jupyter notebook.
Then go back to the PyCharm jupyter notebook and run a cell. If you get the dialog box to enter the Jupyter Notebook URL, enter the url printed to your command line terminal session after you started the notebook there.

%paste magic when connecting to a ipython notebook kernel

I am using the ipython notebook to code but sometimes I like to connect to the kernel on a terminal to do some debugging. To launch the interactive terminal connected to my kernel I do:
ipython console --existing kernel-715d122b-4902-4c9d-a663-8da4c34c96ee.json --profile notebook
When I do this I do not have access to the %paste magic since it is not loaded in the notebook profile. How can I load the %paste magic in this case?
Thanks.