title: pathlib library error in pathlib.Path.home() : type object 'Path' has no attribute 'home'
body: <p>So I've just updated matplotlib to version 3.0.2 . I can import matplotlib just fine, but when I try to <code>import matplotlib.pyplot</code>, I get : </p>
  
  <pre><code>---------------------------------------------------------------------------
  AttributeError                            
  Traceback (most recent call last) &lt;ipython-input-3-864e826dab68&gt; in &lt;module&gt;()
  ----&gt; 1 import matplotlib.pyplot
  
  /usr/local/lib/python3.6/dist-packages/matplotlib/pyplot.py in &lt;module&gt;()
       30 from cycler import cycler
       31 import matplotlib
  ---&gt; 32 import matplotlib.colorbar
       33 import matplotlib.image
       34 from matplotlib import rcsetup, style
  
  /usr/local/lib/python3.6/dist-packages/matplotlib/colorbar.py in &lt;module&gt;()
       30 import matplotlib.collections as collections
       31 import matplotlib.colors as colors
  ---&gt; 32 import matplotlib.contour as contour
       33 import matplotlib.cm as cm
       34 import matplotlib.gridspec as gridspec
  
  /usr/local/lib/python3.6/dist-packages/matplotlib/contour.py in &lt;module&gt;()
       16 import matplotlib.colors as mcolors
       17 import matplotlib.collections as mcoll
  ---&gt; 18 import matplotlib.font_manager as font_manager
       19 import matplotlib.text as text
       20 import matplotlib.cbook as cbook
  
  /usr/local/lib/python3.6/dist-packages/matplotlib/font_manager.py in &lt;module&gt;()
      133 
      134 if not USE_FONTCONFIG and sys.platform != 'win32':
  --&gt; 135     OSXFontDirectories.append(str(Path.home() / "Library/Fonts"))
      136     X11FontDirectories.append(str(Path.home() / ".fonts"))
      137 
  
  AttributeError: type object 'Path' has no attribute 'home'
  </code></pre>
  
  <p>I'm on Ubuntu 18.04 LTS, on Jupyter Lab 0.35.4 with python3.6.7.</p>
  
  <p>Side information/question : Before installing jupyter lab this morning, I was using jupyter notebook with python3.6.0. Now the kernels says it is using python3.6.7, although I cannot seem to find it anywhere on my system.</p>
  
  <p>That being told, when I import anything else that doesn't rely on matplotlib.pyplot, everything works perfectly. If I try seaborn, for example, it returns me to the same attribute error.</p>
  
  <p><strong>EDIT</strong> In fact, the error happens with the pathlib library. It also happens whether or not I'm in jupyter. To replicate it : </p>
  
  <pre><code>from pathlib import Path
  Path.home() 
  </code></pre>
  
  <p>and the error is the same as before : </p>
  
  <pre><code>AttributeError: type object 'Path' has no attribute 'home'
  </code></pre>