title: Error while installing and importing Matplotlib libary with rasa-nlu installed in python
body: <p>I'm unable to import matplotlib. the error is as below</p>
  
  <pre><code>             ImportError: cannot import name 'cbook' from 'matplotlib' 
               (C:\Users\anbharadwaj\AppData\Roaming\Python\Python37\site-packages\matplotlib\__init__.py)
  </code></pre>
  
  <p>Hence, I uninstalled and again tried reinstalling, but no luck.</p>
  
  <p><strong>The version of matplotlib is 3.2.1 by default. I tried lowering the version 2.2 and i got below error while installing</strong></p>
  
  <p><strong>I have Rasa-NLU installed with version 0.15.1, due to which i received below message. I cannot change the rasa-nlu version since it wont work with other version. And i'm unable to import matplotlib with this version. What is the problem? How can I fix it? Please help</strong></p>
  
  <pre><code>ERROR: rasa-nlu 0.15.1 has requirement matplotlib~=2.2, but you'll have 
  matplotlib 3.0.2 which is incompatible.
  
  
  
                  ERROR: Command errored out with exit status 1:
                  command: 'C:\Users\anbharadwaj\AppData\Local\Continuum\anaconda\python.exe' -c 
                  'import sys, setuptools, tokenize; sys.argv[0] = 
                   '"'"'C:\\Users\\ANBHAR~1\\AppData\\Local\\Temp\\pip-install- 
                        boc5sza6\\matplotlib\\setup.py'"'"'; 
                        __file__='"'"'C:\\Users\\ANBHAR~1\\AppData\\Local\\Temp\\pip-install- 
                        boc5sza6\\matplotlib\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open) 
                        (__file__);code=f.read().replace('"'"'\r\n'"'"', 
                         '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' 
                          egg_info --egg-base 'C:\Users\ANBHAR~1\AppData\Local\Temp\pip-install- 
                          boc5sza6\matplotlib\pip-egg-info'
                          cwd: C:\Users\ANBHAR~1\AppData\Local\Temp\pip-install-boc5sza6\matplotlib\
                           Complete output (62 lines):
                           ============================================================================
                           Edit setup.cfg to change the build options
  
                           BUILDING MATPLOTLIB
                                 matplotlib: yes [2.2.0]
                                 python: yes [3.7.3 (default, Mar 27 2019, 17:13:21) [MSC
                                 v.1915 64 bit (AMD64)]]
                                 platform: yes [win32]
  
                            REQUIRED DEPENDENCIES AND EXTENSIONS
                            numpy: yes [version 1.18.1]
                            install_requires: yes [handled by setuptools]
                            libagg: yes [pkg-config information for 'libagg' could not
                             be found. Using local copy.]
                              freetype: no  [The C/C++ header for freetype
                              (freetype2\ft2build.h) could not be found.  You may
                                need to install the development package.]
                                png: no  [The C/C++ header for png (png.h) could not be
                                 found.  You may need to install the development
                                   package.]
                                 qhull: yes [pkg-config information for 'libqhull' could not
                                 be found. Using local copy.]
  
                     OPTIONAL SUBPACKAGES
                             sample_data: yes [installing]
                             toolkits: yes [installing]
                             tests: no  [skipping due to configuration]
                             toolkits_tests: no  [skipping due to configuration]
  
                     OPTIONAL BACKEND EXTENSIONS
                               macosx: no  [Mac OS-X only]
                               qt5agg: yes [installing, Qt: 5.9.6, PyQt: 5.9.2; PySide2 not
                                   found]
                                 qt4agg: no  [PySide not found; PyQt4 not found]
                               gtk3agg: no  [Requires pygobject to be installed.]
                              gtk3cairo: no  [Requires cairocffi or pycairo to be installed.]
                              gtkagg: no  [Requires pygtk]
                               tkagg: yes [installing; run-time loading from Python Tcl /
                                    Tk]
                               wxagg: no  [requires wxPython]
                               gtk: no  [Requires pygtk]
                               agg: yes [installing]
                                cairo: no  [cairocffi or pycairo not found]
                               windowing: yes [installing]
  
                          OPTIONAL LATEX DEPENDENCIES
                                     dvipng: no
                                     ghostscript: no
                                        latex: no
                                       pdftops: no
  
                           OPTIONAL PACKAGE DATA
                                    dlls: no  [skipping due to configuration]
  
                          ============================================================================
                                         * The following required packages can not be built:
                          * freetype, png
                          * Please check http://gnuwin32.sourceforge.net/packa
                          * ges/freetype.htm for instructions to install
                          * freetype
                          * Please check http://gnuwin32.sourceforge.net/packa
                          * ges/libpng.htm for instructions to install png
  ----------------------------------------
                                    ERROR: Command errored out with exit status 1: python setup.py 
                                   egg_info Check the logs for full command output.
  </code></pre>