Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a2cb4ee

Browse filesBrowse files
Jonas Camillus Jeppesendstansby
authored andcommitted
Improve error message for kiwisolver import error (DLL load failed) (#14316)
Quickfix to load MS VC++ redist DLLs before importing kiwisolver which otherwise fails with 'ImportError: DLL load failed'
1 parent 4cf3970 commit a2cb4ee
Copy full SHA for a2cb4ee

File tree

Expand file treeCollapse file tree

1 file changed

+5
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-0
lines changed

‎lib/matplotlib/__init__.py

Copy file name to clipboardExpand all lines: lib/matplotlib/__init__.py
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,11 @@ def compare_versions(a, b):
185185

186186

187187
def _check_versions():
188+
189+
# Quickfix to ensure Microsoft Visual C++ redistributable
190+
# DLLs are loaded before importing kiwisolver
191+
from . import ft2font
192+
188193
for modname, minver in [
189194
("cycler", "0.10"),
190195
("dateutil", "2.1"),

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.