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

Raw kernel's are not started with the environment of the current conda environment. #1960

Closed
rchiodo opened this issue Apr 21, 2020 · 3 comments
Assignees

Comments

@rchiodo
Copy link
Contributor

rchiodo commented Apr 21, 2020

Multiple users reporting a DLL load failure on either loading the kernel, or loading other packages.

I get this when loading numpy:


# %% Basic Imports...
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
~\AppData\Local\Continuum\miniconda3\envs\jupyter\lib\site-packages\numpy\core\__init__.py in 
     23 try:
---> 24     from . import multiarray
     25 except ImportError as exc:

~\AppData\Local\Continuum\miniconda3\envs\jupyter\lib\site-packages\numpy\core\multiarray.py in 
     13 
---> 14 from . import overrides
     15 from . import _multiarray_umath

~\AppData\Local\Continuum\miniconda3\envs\jupyter\lib\site-packages\numpy\core\overrides.py in 
      6 
----> 7 from numpy.core._multiarray_umath import (
      8     add_docstring, implement_array_function, _get_implementing_args)

ImportError: DLL load failed: The specified module could not be found.
@rchiodo
Copy link
Contributor Author

rchiodo commented Apr 21, 2020

Root cause seems to be that the environment from conda is not used when launching the kernel.

@rchiodo rchiodo self-assigned this Apr 21, 2020
@IanMatthewHuff
Copy link
Member

I think this is already done. Pulling to validate.

@IanMatthewHuff
Copy link
Member

Validated.

@lock lock bot locked as resolved and limited conversation to collaborators May 20, 2020
@microsoft microsoft unlocked this conversation Nov 13, 2020
@DonJayamanne DonJayamanne transferred this issue from microsoft/vscode-python Nov 13, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants