Hello
I follow the tutorials to test interactive Spark session with Synapse Spark pool in VS Code.
https://learn.microsoft.com/en-us/azure/synapse-analytics/spark/vscode-tool-synapse
However, the "Spark and Hive Tool" extension was not able to install Jupyter package.
I have verified from that
(1) Python and Pip are installed properly.
(2) Virtualenv is installed
(3) A python environment "hdinsightJupyter" is created by under the folder .msvscode.hdinsight
(4) I can manually install Jupyter, SparkMagic and PySpark packages in the virtual environment. But the VSCode still reports Jupyter not being installed and tries to install it.
(5) I tried Python 3.7, 3.8 and 3.9. The failure is the same.
The installation failed with the error code "3221225477".
[2021-12-22T09:23:41.057] [INFO] hdiFileLogger - Jupyter not installed
[2021-12-22T09:23:41.058] [INFO] hdiFileLogger - Installing PySpark interactive virtual environment ...
[2021-12-22T09:23:41.058] [INFO] hdiFileLogger - Exec python, with args: -m,virtualenv,C:\Users\ralph.msvscode.hdinsight\hdinsightJupyter
[2021-12-22T09:23:42.111] [INFO] hdiFileLogger - created virtual environment CPython3.9.9.final.0-64 in 695ms
creator Venv(dest=C:\Users\ralph.msvscode.hdinsight\hdinsightJupyter, clear=False, no_vcs_ignore=False, global=False, describe=CPython3Windows)
seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=C:\Users\ralph\AppData\Local\pypa\virtualenv)
added seed packages: pip==21.3.1, setuptools==58.3.0, wheel==0.37.0
activators BashActivator,BatchActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator
[2021-12-22T09:23:42.141] [INFO] hdiFileLogger - Exec C:\Users\ralph.msvscode.hdinsight\hdinsightJupyter\Scripts\pip.exe, with args: install,jupyter
[2021-12-22T09:23:42.569] [INFO] hdiFileLogger - Install Jupyter error:
[2021-12-22T09:23:42.569] [ERROR] hdiFileLogger - Exit with non zero 3221225477