ash ash
ash ash

Reputation: 71

trouble installing matplotlib python? WINDOWS

So I used pip to install matplotlib module through command line in windows, but when I then try to import the module in python, it says no module is found.

How do I fix this? When I've tried to install it again, it says the module exists and can be found through my files. However python doesn't seem to be able to link to it to import it?

Upvotes: 0

Views: 46

Answers (1)

Mike Driscoll
Mike Driscoll

Reputation: 33071

If you're on Python 2.7, you will want to read the following document at it details how to install MySQLdb1 on the various platforms:

See the INSTALL file specifically.

Note that this is kind of a legacy module. If you want something that works in Python 3, you might want to check out moist.

There is also PyMySQL, which is compatible with both Python 2.6+ and 3.3+ and it can be installed with pip:

pip install PyMySQL

Upvotes: 1

Related Questions