You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for filing this issue, based on the error message, you need to install the sklearn package
Please ensure you have installed this into the right Python environment
to find the environment, you can either check the kernel picker & have a look at the selected kernel (Python environment)
Or just run the following code to determine the same
importsysprint(sys.executable)
As this isn't an issue with the extension, but an issue with the fact that the packge isn't installed, I'm closing this.
If you believe you have installed the package, then its likely you haven't selected the right environment in the kernel picker.
My suggestion is to review that and pick the environment.
If you still run into issues, please provide more information here with what you have tried along with the environment that contains the packages installed.
Type: Bug
{
"name": "ModuleNotFoundError",
"message": "No module named 'sklearn'",
"stack": "---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
Cell In[12], line 1
----> 1 import sklearn
2 #3from sklearn.datasets import fetch_california_housing
3 #import matplotlib.pyplot as plt
4 #import pandas as pd
5 #housing = fetch_california_housing()
ModuleNotFoundError: No module named 'sklearn'"
}
VS Code version: Code 1.91.1 (f1e16e1, 2024-07-09T22:06:49.809Z)
OS version: Windows_NT x64 10.0.22631
Modes:
System Info
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
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Extensions (9)
A/B Experiments
The text was updated successfully, but these errors were encountered: