Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import cv2
- from matplotlib import pyplot as plt
- img=cv2.imread('d:google.jpg')
- plt.imshow(img)
- plt.show()
- Traceback (most recent call last):
- File "C:/Users/�����/PycharmProjects/untitled4/h.py", line 2, in <module>
- from matplotlib import pyplot as plt
- File "C:Python27libsite-packagesmatplotlibpyplot.py", line 71, in <module>
- from matplotlib.backends import pylab_setup
- File "C:Python27libsite-packagesmatplotlibbackends__init__.py", line 16, in <module>
- line for line in traceback.format_stack()
- File "C:Python27libsite-packagesmatplotlibbackends__init__.py", line 18, in <genexpr>
- if not line.startswith(' File "<frozen importlib._bootstrap'))
- UnicodeDecodeError: 'ascii' codec can't decode byte 0xf9 in position 17: ordinal not in range(128)
- pip install --upgrade --force-reinstall matplotlib
Add Comment
Please, Sign In to add comment