microsoft / azuredatastudio

Azure Data Studio is a data management and development tool with connectivity to popular cloud and on-premises databases. Azure Data Studio supports Windows, macOS, and Linux, with immediate capability to connect to Azure SQL and SQL Server. Browse the extension library for more database support options including MySQL, PostgreSQL, and MongoDB.
https://learn.microsoft.com/sql/azure-data-studio
MIT License
7.58k stars 908 forks source link

error while trying to change kernel to python3 #25968

Open zsaramousavi opened 1 month ago

zsaramousavi commented 1 month ago

We have written the needed data into your clipboard because it was too large to send. Please paste.

Type: Bug

Notebook dependencies installation is in progress

"C:\Users\zahrasadat.m\AppData\Local\anaconda3\python.exe" -m pip install --user "jupyter>=1.0.0" "notebook==6.5.6" "ipykernel==5.5.5" stdout: Requirement already satisfied: jupyter>=1.0.0 in c:\users\zahrasadat.m\appdata\local\anaconda3\lib\site-packages (1.1.1) stdout: stdout: Collecting notebook==6.5.6 stdout: stdout: Using cached notebook-6.5.6-py3-none-any.whl.metadata (2.5 kB) stdout: stdout: Collecting ipykernel==5.5.5 stdout: stdout: Using cached ipykernel-5.5.5-py3-none-any.whl.metadata (1.1 kB) stdout: stdout: Requirement already satisfied: jinja2 in c:\users\zahrasadat.m\appdata\local\anaconda3\lib\site-packages (from notebook==6.5.6) (3.1.4) stdout: stdout: Requirement already satisfied: tornado>=6.1 in c:\users\zahrasadat.m\appdata\local\anaconda3\lib\site-packages (from notebook==6.5.6) (6.4.1) stdout: stdout: Collecting pyzmq<25,>=17 (from notebook==6.5.6) stdout: stdout: Using cached pyzmq-24.0.1.tar.gz (1.2 MB) stdout: stdout: Installing build dependencies: started stdout: stdout: Installing build dependencies: finished with status 'done' stdout: stdout: Getting requirements to build wheel: started stdout: stdout: Getting requirements to build wheel: finished with status 'error' stdout: stderr: error: subprocess-exited-with-error stderr:
stderr: Getting requirements to build wheel did not run successfully. stderr: exit code: 1 stderr:
stderr: stderr: [70 lines of output] stderr: C:\Users\zahrasadat.m\AppData\Local\Temp\pip-build-env-1acns5ej\overlay\Lib\site-packages\setuptools_distutils\dist.py:261: UserWarning: Unknown distribution option: 'cffi_modules' stderr: warnings.warn(msg) stderr: running egg_info stderr: writing pyzmq.egg-info\PKG-INFO stderr: writing dependency_links to pyzmq.egg-info\dependency_links.txt stderr: writing requirements to pyzmq.egg-info\requires.txt stderr: writing top-level names to pyzmq.egg-info\top_level.txt stderr: running configure stderr: Traceback (most recent call last): stderr: File "C:\Users\zahrasadat.m\AppData\Local\anaconda3\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 353, in stderr: main() stderr: File "C:\Users\zahrasadat.m\AppData\Local\anaconda3\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 335, in main stderr: json_out['return_val'] = hook(hook_input['kwargs']) stderr: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ stderr: File "C:\Users\zahrasadat.m\AppData\Local\anaconda3\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 118, in get_requires_for_build_wheel stderr: return hook(config_settings) stderr: ^^^^^^^^^^^^^^^^^^^^^ stderr: File "C:\Users\zahrasadat.m\AppData\Local\Temp\pip-build-env-1acns5ej\overlay\Lib\site-packages\setuptools\build_meta.py", line 332, in get_requires_for_build_wheel stderr: return self._get_build_requires(config_settings, requirements=[]) stderr: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ stderr: File "C:\Users\zahrasadat.m\AppData\Local\Temp\pip-build-env-1acns5ej\overlay\Lib\site-packages\setuptools\build_meta.py", line 302, in _get_build_requires stderr: self.run_setup() stderr: File "C:\Users\zahrasadat.m\AppData\Local\Temp\pip-build-env-1acns5ej\overlay\Lib\site-packages\setuptools\build_meta.py", line 318, in run_setup stderr: exec(code, locals()) stderr: File "", line 1376, in stderr: File "C:\Users\zahrasadat.m\AppData\Local\Temp\pip-build-env-1acns5ej\overlay\Lib\site-packages\setuptools__init__.py", line 117, in setup stderr: return distutils.core.setup(attrs) stderr: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ stderr: File "C:\Users\zahrasadat.m\AppData\Local\Temp\pip-build-env-1acns5ej\overlay\Lib\site-packages\setuptools_distutils\core.py", line 183, in setup stderr: return run_commands(dist) stderr: ^^^^^^^^^^^^^^^^^^ stderr: File "C:\Users\zahrasadat.m\AppData\Local\Temp\pip-build-env-1acns5ej\overlay\Lib\site-packages\setuptools_distutils\core.py", line 199, in run_commands stderr: dist.run_commands() stderr: File "C:\Users\zahrasadat.m\AppData\Local\Temp\pip-build-env-1acns5ej\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 954, in run_commands stderr: self.run_command(cmd) stderr: File "C:\Users\zahrasadat.m\AppData\Local\Temp\pip-build-env-1acns5ej\overlay\Lib\site-packages\setuptools\dist.py", line 950, in run_command stderr: super().run_command(command) stderr: File "C:\Users\zahrasadat.m\AppData\Local\Temp\pip-build-env-1acns5ej\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 973, in run_command stderr: cmd_obj.run() stderr: File "C:\Users\zahrasadat.m\AppData\Local\Temp\pip-build-env-1acns5ej\overlay\Lib\site-packages\setuptools\command\egg_info.py", line 311, in run stderr: self.find_sources() stderr: File "C:\Users\zahrasadat.m\AppData\Local\Temp\pip-build-env-1acns5ej\overlay\Lib\site-packages\setuptools\command\egg_info.py", line 319, in find_sources stderr: mm.run() stderr: File "C:\Users\zahrasadat.m\AppData\Local\Temp\pip-build-env-1acns5ej\overlay\Lib\site-packages\setuptools\command\egg_info.py", line 540, in run stderr: self.add_defaults() stderr: File "C:\Users\zahrasadat.m\AppData\Local\Temp\pip-build-env-1acns5ej\overlay\Lib\site-packages\setuptools\command\egg_info.py", line 578, in add_defaults stderr: sdist.add_defaults(self) stderr: File "C:\Users\zahrasadat.m\AppData\Local\Temp\pip-build-env-1acns5ej\overlay\Lib\site-packages\setuptools\command\sdist.py", line 108, in add_defaults stderr: super().add_defaults() stderr: File "C:\Users\zahrasadat.m\AppData\Local\Temp\pip-build-env-1acns5ej\overlay\Lib\site-packages\setuptools_distutils\command\sdist.py", line 238, in add_defaults stderr: self._add_defaults_ext() stderr: File "C:\Users\zahrasadat.m\AppData\Local\Temp\pip-build-env-1acns5ej\overlay\Lib\site-packages\setuptools_distutils\command\sdist.py", line 322, in _add_defaults_ext stderr: build_ext = self.get_finalized_command('build_ext') stderr: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ stderr: stderr: File "C:\Users\zahrasadat.m\AppData\Local\Temp\pip-build-env-1acns5ej\overlay\Lib\site-packages\setuptools_distutils\cmd.py", line 303, in get_finalized_command stderr: cmd_obj.ensure_finalized() stderr: File "C:\Users\zahrasadat.m\AppData\Local\Temp\pip-build-env-1acns5ej\overlay\Lib\site-packages\setuptools_distutils\cmd.py", line 111, in ensure_finalized stderr: self.finalize_options() stderr: File "", line 1112, in finalize_options stderr: File "C:\Users\zahrasadat.m\AppData\Local\Temp\pip-build-env-1acns5ej\overlay\Lib\site-packages\setuptools\dist.py", line 950, in run_command stderr: super().run_command(command) stderr: File "C:\Users\zahrasadat.m\AppData\Local\Temp\pip-build-env-1acns5ej\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 972, in run_command stderr: cmd_obj.ensure_finalized() stderr: File "C:\Users\zahrasadat.m\AppData\Local\Temp\pip-build-env-1acns5ej\overlay\Lib\site-packages\setuptools_distutils\cmd.py", line 111, in ensure_finalized stderr: self.finalize_options() stderr: File "", line 359, in finalize_options stderr: File "C:\Users\zahrasadat.m\AppData\Local\Temp\pip-install-6wkm1e95\pyzmq_01818ce9fc884c73a9be81f2f742f94e\buildutils\misc.py", line 71, in locate_vcredist_dir stderr: vcvars = msvc.msvc14_get_vc_env(plat) stderr: ^^^^^^^^^^^^^^^^^^^^^^ stderr: AttributeError: module 'setuptools.msvc' has no attribute 'msvc14_get_vc_env' stderr: [end of output] stderr:
stderr: note: This error originates from a subprocess, and is likely not a problem with pip. stderr: stderr: error: subprocess-exited-with-error stderr: stderr: Getting requirements to build wheel did not run successfully. stderr: exit code: 1 stderr: stderr: See above for output. stderr: stderr: note: This error originates from a subprocess, and is likely not a problem with pip. stderr: Installing Notebook dependencies failed with error: Process exited with error code: 1. StdErr Output: error: subprocess-exited-with-error

Getting requirements to build wheel did not run successfully. exit code: 1

[70 lines of output] C:\Users\zahrasadat.m\AppData\Local\Temp\pip-build-env-1acns5ej\overlay\Lib\site-packages\setuptools_distutils\dist.py:261: UserWarning: Unknown distribution option: 'cffi_modules' warnings.warn(msg) running egg_info writing pyzmq.egg-info\PKG-INFO writing dependency_links to pyzmq.egg-info\dependency_links.txt writing requirements to pyzmq.egg-info\requires.txt writing top-level names to pyzmq.egg-info\top_level.txt running configure Traceback (most recent call last): File "C:\Users\zahrasadat.m\AppData\Local\anaconda3\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 353, in main() File "C:\Users\zahrasadat.m\AppData\Local\anaconda3\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 335, in main json_out['return_val'] = hook(hook_input['kwargs']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\zahrasadat.m\AppData\Local\anaconda3\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 118, in get_requires_for_build_wheel return hook(config_settings) ^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\zahrasadat.m\AppData\Local\Temp\pip-build-env-1acns5ej\overlay\Lib\site-packages\setuptools\build_meta.py", line 332, in get_requires_for_build_wheel return self._get_build_requires(config_settings, requirements=[]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\zahrasadat.m\AppData\Local\Temp\pip-build-env-1acns5ej\overlay\Lib\site-packages\setuptools\build_meta.py", line 302, in _get_build_requires self.run_setup() File "C:\Users\zahrasadat.m\AppData\Local\Temp\pip-build-env-1acns5ej\overlay\Lib\site-packages\setuptools\build_meta.py", line 318, in run_setup exec(code, locals()) File "", line 1376, in File "C:\Users\zahrasadat.m\AppData\Local\Temp\pip-build-env-1acns5ej\overlay\Lib\site-packages\setuptools__init__.py", line 117, in setup return distutils.core.setup(attrs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\zahrasadat.m\AppData\Local\Temp\pip-build-env-1acns5ej\overlay\Lib\site-packages\setuptools_distutils\core.py", line 183, in setup return run_commands(dist) ^^^^^^^^^^^^^^^^^^ File "C:\Users\zahrasadat.m\AppData\Local\Temp\pip-build-env-1acns5ej\overlay\Lib\site-packages\setuptools_distutils\core.py", line 199, in run_commands dist.run_commands() File "C:\Users\zahrasadat.m\AppData\Local\Temp\pip-build-env-1acns5ej\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 954, in run_commands self.run_command(cmd) File "C:\Users\zahrasadat.m\AppData\Local\Temp\pip-build-env-1acns5ej\overlay\Lib\site-packages\setuptools\dist.py", line 950, in run_command super().run_command(command) File "C:\Users\zahrasadat.m\AppData\Local\Temp\pip-build-env-1acns5ej\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 973, in run_command cmd_obj.run() File "C:\Users\zahrasadat.m\AppData\Local\Temp\pip-build-env-1acns5ej\overlay\Lib\site-packages\setuptools\command\egg_info.py", line 311, in run self.find_sources() File "C:\Users\zahrasadat.m\AppData\Local\Temp\pip-build-env-1acns5ej\overlay\Lib\site-packages\setuptools\command\egg_info.py", line 319, in find_sources mm.run() File "C:\Users\zahrasadat.m\AppData\Local\Temp\pip-build-env-1acns5ej\overlay\Lib\site-packages\setuptools\command\egg_info.py", line 540, in run self.add_defaults() File "C:\Users\zahrasadat.m\AppData\Local\Temp\pip-build-env-1acns5ej\overlay\Lib\site-packages\setuptools\command\egg_info.py", line 578, in add_defaults sdist.add_defaults(self) File "C:\Users\zahrasadat.m\AppData\Local\Temp\pip-build-env-1acns5ej\overlay\Lib\site-packages\setuptools\command\sdist.py", line 108, in add_defaults super().add_defaults() File "C:\Users\zahrasadat.m\AppData\Local\Temp\pip-build-env-1acns5ej\overlay\Lib\site-packages\setuptools_distutils\command\sdist.py", line 238, in add_defaults self._add_defaults_ext() File "C:\Users\zahrasadat.m\AppData\Local\Temp\pip-build-env-1acns5ej\overlay\Lib\site-packages\setuptools_distutils\command\sdist.py", line 322, in _add_defaults_ext build_ext = self.get_finalized_command('build_ext') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\zahrasadat.m\AppData\Local\Temp\pip-build-env-1acns5ej\overlay\Lib\site-packages\setuptools_distutils\cmd.py", line 303, in get_finalized_command cmd_obj.ensure_finalized() File "C:\Users\zahrasadat.m\AppData\Local\Temp\pip-build-env-1acns5ej\overlay\Lib\site-packages\setuptools_distutils\cmd.py", line 111, in ensure_finalized self.finalize_options() File "", line 1112, in finalize_options File "C:\Users\zahrasadat.m\AppData\Local\Temp\pip-build-env-1acns5ej\overlay\Lib\site-packages\setuptools\dist.py", line 950, in run_command super().run_command(command) File "C:\Users\zahrasadat.m\AppData\Local\Temp\pip-build-env-1acns5ej\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 972, in run_command cmd_obj.ensure_finalized() File "C:\Users\zahrasadat.m\AppData\Local\Temp\pip-build-env-1acns5ej\overlay\Lib\site-packages\setuptools_distutils\cmd.py", line 111, in ensure_finalized self.finalize_options() File "", line 359, in finalize_options File "C:\Users\zahrasadat.m\AppData\Local\Temp\pip-install-6wkm1e95\pyzmq_01818ce9fc884c73a9be81f2f742f94e\buildutils\misc.py", line 71, in locate_vcredist_dir vcvars = msvc.msvc14_get_vc_env(plat) ^^^^^^^^^^^^^^^^^^^^^^ AttributeError: module 'setuptools.msvc' has no attribute 'msvc14_get_vc_env' [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error

Getting requirements to build wheel did not run successfully. exit code: 1

See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

Azure Data Studio version: azuredatastudio 1.49.1 (2f696aa95a13ccabd7e0a4431d1d759e3a7b8cfd, 2024-08-13T18:12:38.831Z) OS version: Windows_NT x64 10.0.19045 Restricted Mode: No Preview Features: Enabled Modes:

System Info |Item|Value| |---|---| |CPUs|11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz (8 x 2419)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled| |Load (avg)|undefined| |Memory (System)|15.71GB (6.56GB free)| |Process Argv|| |Screen Reader|no| |VM|0%|
Extensions (11) Extension|Author (truncated)|Version ---|---|--- admin-pack|Mic|0.0.2 agent|Mic|0.49.0 azuredatastudio-oracle|Mic|0.1.6 dacpac|Mic|1.14.0 import|Mic|1.6.1 machine-learning|Mic|0.12.0 net-6-runtime|Mic|1.1.0 profiler|Mic|0.14.0 mongodb-vscode|mon|1.2.1 azdata-sanddance|msr|4.1.1 vscodeintellicode|Vis|1.3.1