Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MORE INPUT PROBLEMS #221678

Closed
RJS183 opened this issue Jul 14, 2024 · 1 comment
Closed

MORE INPUT PROBLEMS #221678

RJS183 opened this issue Jul 14, 2024 · 1 comment
Assignees

Comments

@RJS183
Copy link

RJS183 commented Jul 14, 2024

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
Item Value
CPUs Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz (16 x 2904)
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
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Load (avg) undefined
Memory (System) 11.83GB (1.03GB free)
Process Argv C:\Users\Owner\Documents\Eastern\DSC 502\Week 6\DSC502_Summary_and_preview.ipynb --crash-reporter-id 3ff904dd-d75c-4b2c-add3-b85ed3b885f8
Screen Reader no
VM 0%
Extensions (9)
Extension Author (truncated) Version
debugpy ms- 2024.8.0
python ms- 2024.10.0
vscode-pylance ms- 2024.7.1
jupyter ms- 2024.6.0
jupyter-keymap ms- 1.1.2
jupyter-renderers ms- 1.0.18
vscode-jupyter-cell-tags ms- 0.1.9
vscode-jupyter-slideshow ms- 0.1.6
r REd 2.8.4
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805:30301674
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythongtdpath:30769146
welcomedialog:30910333
pythonnoceb:30805159
asynctok:30898717
pythonregdiag2:30936856
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
accentitlementsc:30995553
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
chatpanelt:31048053
dsvsc021:30996838
9c06g630:31013171
pythoncenvpt:31062603
a69g1124:31058053
dvdeprecation:31068756
dwnewjupyter:31046869
2f103344:31071589
legacy_priority:31094926
4930e709:31092288

@DonJayamanne
Copy link
Contributor

DonJayamanne commented Jul 15, 2024

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

import sys
print(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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants