microsoft / Spark-Hive-Tools

This is for issue/feedback tracking on Spark & Hive Tools
Creative Commons Attribution 4.0 International
6 stars 9 forks source link

Workspace Settings python.pythonPath Error #32

Open HDBloebaumWilliam opened 2 years ago

HDBloebaumWilliam commented 2 years ago

Hello I am having issues connecting to my Azure Synapse Spark Pools with VS Code on macOS using this extension and following the instructions here: https://docs.microsoft.com/en-us/azure/synapse-analytics/spark/vscode-tool-synapse

Do you have updated instructions that can resolve this issue?

This is the error I get despite running the scripts in a dedicated folder/workspace:

[Error] Error: Unable to write to Workspace Settings because python.pythonPath is not a registered configuration.

image

jgerstle4u commented 2 years ago

I get this error as well, but only when trying to run interactive.

renepajta commented 2 years ago

Can we fix this? It drives me and my customers crazy. You cannot use this extension for active Spark development.

skandupmanyu commented 2 years ago

We got it working by installing the specific versions of Python and Jupyter extensions as follows:

JUPYTER EXTENSION VERSION: v2022.1.1001614873

PYTHON EXTENSION VERSION: v2021.12.1559732655

skandupmanyu commented 2 years ago

Now that VSCode extension is retiring as mentioned in the doc, what are the plans to use PyCharm/VSCode to develop .py scripts instead of notebooks on Synapse?