Skip to content

ImportError: DLL load failed: The specified module could not be found. #6306

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

Closed
larsoleruben opened this issue Jun 24, 2019 · 1 comment
Closed
Labels
bug Issue identified by VS Code Team member as probable bug

Comments

@larsoleruben
Copy link

larsoleruben commented Jun 24, 2019

PS: I have tried anythin but reinstalling the computer. This will not work.
And how should I activate the test environment? PLS!

Environment data

  • VS Code version: 1.35.1
  • Extension version (available under the Extensions sidebar): 2019.5.18875
  • OS and version: Windows 8.1
  • Python version (& distribution if applicable, e.g. Anaconda): 4.4.10
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): conda
  • Relevant/affected Python packages and their versions: oytest
  • Jedi or Language Server? (i.e. what is "python.jediEnabled" set to; more info How to update the language server to the latest stable version #3977): XXX

Expected behaviour

Debug tests

Actual behaviour

Exception: ImportError: DLL load failed: The specified module could not be found.

Steps to reproduce:

Install anaconda, vscode and pythonm

Logs

Output for Python in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Python)

    return self._inner_hookexec(hook, methods, kwargs)
  File "C:\Users\laoch\AppData\Local\conda\conda\envs\odltest\lib\site-packages\pluggy\manager.py", line 81, in <lambda>
    firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,
  File "C:\Users\laoch\AppData\Local\conda\conda\envs\odltest\lib\site-packages\pluggy\callers.py", line 203, in _multicall
    gen.send(outcome)
  File "C:\Users\laoch\AppData\Local\conda\conda\envs\odltest\lib\site-packages\_pytest\helpconfig.py", line 94, in pytest_cmdline_parse
    config = outcome.get_result()
  File "C:\Users\laoch\AppData\Local\conda\conda\envs\odltest\lib\site-packages\pluggy\callers.py", line 80, in get_result
    raise ex[1].with_traceback(ex[2])
  File "C:\Users\laoch\AppData\Local\conda\conda\envs\odltest\lib\site-packages\pluggy\callers.py", line 187, in _multicall
    res = hook_impl.function(*args)
  File "C:\Users\laoch\AppData\Local\conda\conda\envs\odltest\lib\site-packages\_pytest\config\__init__.py", line 687, in pytest_cmdline_parse
    self.parse(args)

Output from Console under the Developer Tools panel (toggle Developer Tools on under Help; turn on source maps to make any tracebacks be useful by running Enable source map support for extension debugging)

    return self._inner_hookexec(hook, methods, kwargs)
  File "C:\Users\laoch\AppData\Local\conda\conda\envs\odltest\lib\site-packages\pluggy\manager.py", line 81, in <lambda>
    firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,
  File "C:\Users\laoch\AppData\Local\conda\conda\envs\odltest\lib\site-packages\pluggy\callers.py", line 203, in _multicall
    gen.send(outcome)
  File "C:\Users\laoch\AppData\Local\conda\conda\envs\odltest\lib\site-packages\_pytest\helpconfig.py", line 94, in pytest_cmdline_parse
    config = outcome.get_result()
  File "C:\Users\laoch\AppData\Local\conda\conda\envs\odltest\lib\site-packages\pluggy\callers.py", line 80, in get_result
    raise ex[1].with_traceback(ex[2])
  File "C:\Users\laoch\AppData\Local\conda\conda\envs\odltest\lib\site-packages\pluggy\callers.py", line 187, in _multicall
    res = hook_impl.function(*args)
  File "C:\Users\laoch\AppData\Local\conda\conda\envs\odltest\lib\site-packages\_pytest\config\__init__.py", line 687, in pytest_cmdline_parse
    self.parse(args)
@larsoleruben larsoleruben added triage-needed Needs assignment to the proper sub-team bug Issue identified by VS Code Team member as probable bug labels Jun 24, 2019
@DonJayamanne
Copy link

Duplicate of #4300

@DonJayamanne DonJayamanne marked this as a duplicate of #4300 Jun 24, 2019
@ghost ghost removed the triage-needed Needs assignment to the proper sub-team label Jun 24, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jul 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

No branches or pull requests

2 participants