Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Improvement: Better error message if kiwisolver fails to import #14315

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
jonascj opened this issue May 24, 2019 · 2 comments
Closed

Improvement: Better error message if kiwisolver fails to import #14315

jonascj opened this issue May 24, 2019 · 2 comments
Milestone

Comments

@jonascj
Copy link

jonascj commented May 24, 2019

I had the frustrating experience of trying to install matplotlib on a fresh/clean installation of Windows 10 the other day, for hours on end the import matplotlib failed with ImportError: DLL load failed.

It turned out to be kiwisolver, which was missing Microsoft Visual C++ Redistributable 2015/2017.

In _check_versions() in lib/matplotlib/__init__.py could catch the exception and show a hint like: You likely miss Microsoft Visual C++ Redistributable 2015/2017.

@jonascj
Copy link
Author

jonascj commented May 24, 2019

Submitted a PR to implement this: #14316

@anntzer
Copy link
Contributor

anntzer commented Jun 7, 2019

Closed by #14316.

@anntzer anntzer closed this as completed Jun 7, 2019
@QuLogic QuLogic added this to the v3.1.1 milestone Jun 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants