Computer Vision with Python and OpenCV - Installing and Updating matplotlib with conda

preview_player
Показать описание
In this video, we will how to install the matplotlib library using conda. The command we used in this video for the installation is,

conda install matplotlib

We will also learn what package in the library is quite often used for the visualization and how to import it in a python program.

The link to the github repository for the code examples is as follows,

I teach Programming, Electronics, Science, and Mathematics on Udemy.

#Matplotlib #Python #Installation

Credits:
Рекомендации по теме
Комментарии
Автор

There is error of : 'conda' is not recognized as an internal or external command,
operable program or batch file. How to remove this?

abhinavdengri
Автор

hi, why isn't it possible to install opencv the same way as matplotlib? " conda install opencv2" or something like this?

newlenin
Автор

Hi Ashwin I follow with great interest your tutorials and can benefit a lot. Thank you for this.
I work on a PI3 with python3 and run into troubles when importing
>>> import matplotlib.pyplot as plt
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/pi/.virtualenvs/cv3/lib/python3.5/site-packages/matplotlib/pyplot.py", line 115, in <module>
_backend_mod, new_figure_manager, draw_if_interactive, _show = pylab_setup()
File "/home/pi/.virtualenvs/cv3/lib/python3.5/site-packages/matplotlib/backends/__init__.py", line 62, in pylab_setup
[backend_name], 0)
File "/home/pi/.virtualenvs/cv3/lib/python3.5/site-packages/matplotlib/backends/backend_gtk3agg.py", line 9, in <module>
from . import backend_agg, backend_gtk3
File "/home/pi/.virtualenvs/cv3/lib/python3.5/site-packages/matplotlib/backends/backend_gtk3.py", line 19, in <module>
from ._gtk3_compat import GLib, GObject, Gtk, Gdk
File "/home/pi/.virtualenvs/cv3/lib/python3.5/site-packages/matplotlib/backends/_gtk3_compat.py", line 29, in <module>
import gi
File "/home/pi/.virtualenvs/cv3/lib/python3.5/site-packages/gi/__init__.py", line 39
print url
^
SyntaxError: Missing parentheses in call to 'print'

The pip list shows that I have installed gi
gi 1.2

Any hint what the issue could be?
Thank you in advance.

stahelpeter
Автор

After installing matplotlib I can't access spyder3.exe because it displays a window
with the title 'pythonw.exe - Entry point not found
with the description, 'The procedure entry point
could
not be located in the dynamic link library
Can you help me with this?

lirdulce