As title, I cannot import matplotlib...
And here is the code:
import cv2
import numpy as np
from matplotlib import pyplot as plt
img = cv2.imread(\'pict
The error has occurred due to the recent version of pyparsing
being in conflict with matplotlib
, which pip has picked up.
The workaround would be to: pip install pyparsing==2.1.1
followed by pip install matplotlib
It's a pyparsing issue:
https://github.com/matplotlib/matplotlib/issues/6399
Just wait for fix. Or you can upgrade python to 3.5
I had install the newest pyparsing(2.1.3) and this issue is fixed !
Download page: https://pypi.python.org/pypi/pyparsing/2.1.3