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

Unable to import matplotlib on Windows 10 v1903 #14303

Closed
jonascj opened this issue May 23, 2019 · 4 comments
Closed

Unable to import matplotlib on Windows 10 v1903 #14303

jonascj opened this issue May 23, 2019 · 4 comments
Milestone

Comments

@jonascj
Copy link

jonascj commented May 23, 2019

Bug report

import matplotlib fails with ImportError: DLL load failed as shown here: https://i.imgur.com/e3UyE1h.png

In the end it turns out to be module kiwisolver which does not import properly.

This is on a fresh installation of Windows 10 (see version below), fresh install of Python 3.7.3, tried several times over.

Matplotlib version

  • Operating system: Windows 10 version 1903 (May 2019) 64bit
  • Matplotlib version: 3.1.0
  • Matplotlib backend (print(matplotlib.get_backend())): Not able to import
  • Python version: 3.7.3 (32bit)
  • Other libraries: pip 19.0.3, kiwisolver 1.1.0.

Python installed from Windows-installer from python.org. Matplot lib installed via pip install matplotlib.

@jonascj
Copy link
Author

jonascj commented May 23, 2019

Fixed by installing Microsoft Visual C++ 2015 redistributable. Some dependencies for precompiled binaries must have been missing.

And again, maybe this is more a kiwisolver issue than a matplotlib issue.

@jklymak
Copy link
Member

jklymak commented May 25, 2019

Reopening though maybe the correct fix is on kiwis end.

@tacaswell
Copy link
Member

Closing this as #14316 has been merged.

@snjay5
Copy link

snjay5 commented Oct 3, 2020

Hi,

I dont have admin rights on my PC hence I am not able to install Microsoft Visual C++ 2015 redistributable.
Which leads to the failing of matplotlib installation. Is there any other way around?

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

4 participants