Forum Discussion
VS Code and Synapse Kernel
- Anonymous2 years ago
Hi DennesTorres ,
Apologies for the delay in response.
Please follow these trouleshooting steps:-
Open the VS Code command palette and select/type 'Python: Select Interpreter'
-
Choose + Enter interpreter path...
-
Enter Python interpreter path:
path\to\envs\${SYNAPSE_CONDA_ENV_NAME}\python
Please refer this link for further details: VS Code
Hope this helps. Please let us know if you have any further questions. -
- 2 years ago
Hi,
It was not straightforward, but I think it worked. I will need to make more tests to confirm.
It was difficult to understand the path you asked, but based on the variable, I understand it was something inside the miniconda installation folder.
But there was no python folder there.
Once again, based on the variable, I understand it was related to a folder ENVS, this was present inside the miniconda installation folder, but there was no python folder inside ENVS. There was a folder called synapse-spark-kernel with a python.exe inside it.
I tried this path and received many errors I could not identify. But after closing, opening again and insisting a bit, the synapse-spark-kernel was present in the VS Code.
Thank you!
Kind Regards,Dennes
Hi,
I installed the pre-reqs and variables, but I already suspect what could be.
Either it is because I installed the pre-reqs after the extension (I will need to uninstall the extension and install again) or because VS code has a hard time to update the environment variables unless I reboot. When we have 10 different desktops, each one for different purposes and different stuff opened, reboot is not a good thing.
I will try this and give a feedback later.
Kind Regards,
Dennes
Hi DennesTorres ,
Thanks for the update. Looking forward for your feedback.
Please let us know if you have any further queries.
- MRP241 year agoNew Member
I had the same issue. after restarting VSCode, I could see the fabric spark kernel
- Anonymous2 years agoNot applicable
Hi DennesTorres ,
We haven’t heard from you on the last response and was just checking back to see if your query has been resolved. Please let us know if you have any further queries.- DennesTorres2 years agoImpactful Individual
Hi,
All the variables are in place. The requisites are installed.
A restart was done. I uninstalled the extension and installed again.
But nothing worked.On the VS Code terminal, when opening a notebook and the Synapse window, the following results appear:
The result seems to have no errors, but still the synapse kernel doesn't appear, not allowing the correct notebook execution.What additional tests could I try ?
Kind Regards,
Dennes
- Anonymous2 years agoNot applicable
Hi DennesTorres ,
Apologies for the delay in response.
Please follow these trouleshooting steps:-
Open the VS Code command palette and select/type 'Python: Select Interpreter'
-
Choose + Enter interpreter path...
-
Enter Python interpreter path:
path\to\envs\${SYNAPSE_CONDA_ENV_NAME}\python
Please refer this link for further details: VS Code
Hope this helps. Please let us know if you have any further questions. -