'Problem with matplotlib.pyplot in vscodes
I have been working on a project regarding linear discriminant analysis and have been working with Python on VS Code to do so. However, I have a line that keeps popping up every time I debug the file:
cannot assign to literal (matplotlib.py, line 44).
It refers to a line I have which is:
import matplotlib.pyplot as plt
I was using a conda environment but I uninstalled it since it kept saying the same thing, along with not recognizing NumPy and I have been trying with only pip but it still does not work. I have installed python 3.10.4.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
