title: How to resolve the error of legacy-install-failure?
body: <pre><code> building 'matplotlib.ft2font' extension
        
  error: Microsoft Visual C++ 14.0 or greater is required. Get it with &quot;Microsoft C++ Build Tools&quot;: &lt;https://visualstudio.microsoft.com/visual-cpp-build-tools/&gt;
        [end of output]
  
    note: This error originates from a subprocess, and is likely not a problem with pip.
  error: legacy-install-failure
  
  × Encountered error while trying to install package.
  ╰─&gt; matplotlib
  
  note: This is an issue with the package mentioned above, not pip.
  hint: See above for output from the failure
  </code></pre>