0

I'm trying to import and run matplotlib in python but I get a error message:

Error Messages


The version I'm running are:

Python 3.10.4
matplotlib 3.5.2
virtualenv 20.14.1

(I'm using a virtualenv)


My code:

import matplotlib import matplotlib.pyplot as plt print('matplotlib: {}'.format(matplotlib.__version__)) 

4
  • What's the error message? Commented Jun 4, 2022 at 13:10
  • Sorry, this is my first question and my formatting was incorrect Commented Jun 4, 2022 at 13:23
  • 1
    Please don't use images of code or errors when these are just text. Copy-paste the error message into your question, then format it as code. Commented Jun 4, 2022 at 13:23
  • See also github.com/microsoft/pylance-release/issues/361 Commented Jun 4, 2022 at 13:49

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.