Skip to content

Matplotlib broken with VSCode 1.37.0 update #6974

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
benjaminpaik opened this issue Aug 15, 2019 · 1 comment
Closed

Matplotlib broken with VSCode 1.37.0 update #6974

benjaminpaik opened this issue Aug 15, 2019 · 1 comment
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug

Comments

@benjaminpaik
Copy link

After installing the 1.37.0 update, any python scripts that use matplotlib for graphing will no longer run in debug (I am using Anaconda3 with VSCode). I've pasted the resulting terminal output below. Reverting to VSCode 1.36.1 resolves the issue, and scripts run as expected.

VSCode Version: 1.37.0
OS Version: Windows 10 Version 1903 OS Build 18362.267
c:\Users\benja_000\Documents\Python Scripts>C:\ProgramData\Anaconda3\python.exe c:\Users\benja_000.vscode\extensions\ms-python.python-2019.8.29288\pythonFiles\ptvsd_launcher.py --default --client --host localhost --port 54267 "c:\Users\benja_000\Documents\Python
Scripts\Filter Response\main.py"
Traceback (most recent call last):
File "c:\Users\benja_000.vscode\extensions\ms-python.python-2019.8.29288\pythonFiles\ptvsd_launcher.py", line 43, in
main(ptvsdArgs)
File "c:\Users\benja_000.vscode\extensions\ms-python.python-2019.8.29288\pythonFiles\lib\python\ptvsd_main_.py", line 432, in
main
run()
File "c:\Users\benja_000.vscode\extensions\ms-python.python-2019.8.29288\pythonFiles\lib\python\ptvsd_main_.py", line 316, in
run_file
runpy.run_path(target, run_name='main')
File "C:\ProgramData\Anaconda3\lib\runpy.py", line 263, in run_path
pkg_name=pkg_name, script_name=fname)
File "C:\ProgramData\Anaconda3\lib\runpy.py", line 96, in run_module_code
mod_name, mod_spec, pkg_name, script_name)
File "C:\ProgramData\Anaconda3\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "c:\Users\benja_000\Documents\Python Scripts\Filter Response\main.py", line 7, in
from matplotlib import pyplot
File "C:\ProgramData\Anaconda3\lib\site-packages\matplotlib_init.py", line 138, in
from . import cbook, rcsetup
File "C:\ProgramData\Anaconda3\lib\site-packages\matplotlib\cbook_init.py", line 31, in
import numpy as np
File "C:\ProgramData\Anaconda3\lib\site-packages\numpy_init_.py", line 140, in
from . import _distributor_init
File "C:\ProgramData\Anaconda3\lib\site-packages\numpy_distributor_init.py", line 34, in
from . import _mklinit
ImportError: DLL load failed: The specified module could not be found.

c:\Users\benja_000\Documents\Python Scripts>C:/ProgramData/Anaconda3/Scripts/activate

(base) c:\Users\benja_000\Documents\Python Scripts>conda activate base

@benjaminpaik benjaminpaik added triage-needed Needs assignment to the proper sub-team bug Issue identified by VS Code Team member as probable bug labels Aug 15, 2019
@DonJayamanne
Copy link

Dup of #5559

@ghost ghost removed the triage-needed Needs assignment to the proper sub-team label Aug 15, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Aug 22, 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

3 participants