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
I have a slightly different problem but related to this topic, so I'll post it here.
I did manage to activate the Synapse Kernal in VS Code, however it does not recognize spark. See the code below, spark is of Nonetype.
What should I do?
Hi paatrickd ,
Thanks for using Fabric Community and posting your question.
Can you please create a new post as the initial ask is different from your issue?
We will definitely look into the issue and help.
Thanks for understanding.