-
Notifications
You must be signed in to change notification settings - Fork 293
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
Jupyter notebook not able to run on Conda environments #6393
Comments
|
@sravanpannala Have you tried following some of the fixes mentioned on this issue? mhammond/pywin32#1431 |
@claudiaregio I will take a look, but the issue here is I'm trying to use conda but VS Code is trying to load win32api from the base python. Using base python works in Jupyter notebooks, also using other virtual environments. I'm not very good at diagnosing errors so I don't understand what is going on here. |
I figured out the problem. Miniconda's base python is 3.9.1, but creating a new env resulted in installing python 3.9.5. I think this is causing the problem in ipython-kernel. Restricting the python version to 3.8 while creating a new env solved the issue. |
@sravanpannala great! Glad you were able to get that fixed :) Closing as resolved |
Issue Type: Bug
I installed Ipykernel and jupyter packages in a Conda environment. I then selected that environment as Kernel. I tried to run a simple code in a cell
The kernel does load and I get this error:
VS Code version: Code - Insiders 1.58.0-insider (49e1f9919880c1c96004f9b6ad91bcee7a94a1bd, 2021-06-25T05:14:20.119Z)
OS version: Windows_NT x64 10.0.17134
Restricted Mode: No
System Info
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Extensions (14)
(11 theme extensions excluded)
A/B Experiments
The text was updated successfully, but these errors were encountered: