title: RuntimeError: Can't determine home directory
body: <p>I'm trying to run a PYthon Script on a server using xampp. When trying to import matplotlib I get the following error:</p>
  
  <pre><code>[Fri Mar 13 10:46:36.219708 2020] [cgi:error] [pid 15320:tid 2012] [client ::1:54631] AH01215:   File "C:/Users/gfranosc/Downloads/xampp-portable-win32-7.2.1-0-VC15/xampp/htdocs/Python/test.py", line 5, in &lt;module&gt;\r: C:/Users/gfranosc/Downloads/xampp-portable-win32-7.2.1-0-VC15/xampp/htdocs/Python/test.py
  [Fri Mar 13 10:46:36.220702 2020] [cgi:error] [pid 15320:tid 2012] [client ::1:54631] AH01215:     from LambWaveModes import *\r: C:/Users/gfranosc/Downloads/xampp-portable-win32-7.2.1-0-VC15/xampp/htdocs/Python/test.py
  [Fri Mar 13 10:46:36.220702 2020] [cgi:error] [pid 15320:tid 2012] [client ::1:54631] AH01215:   File "C:\\Users\\gfranosc\\Downloads\\xampp-portable-win32-7.2.1-0-VC15\\xampp\\htdocs\\Python\\LambWaveModes.py", line 13, in &lt;module&gt;\r: C:/Users/gfranosc/Downloads/xampp-portable-win32-7.2.1-0-VC15/xampp/htdocs/Python/test.py
  [Fri Mar 13 10:46:36.221697 2020] [cgi:error] [pid 15320:tid 2012] [client ::1:54631] AH01215:     from matplotlib import pyplot as plt\r: C:/Users/gfranosc/Downloads/xampp-portable-win32-7.2.1-0-VC15/xampp/htdocs/Python/test.py
  [Fri Mar 13 10:46:36.221697 2020] [cgi:error] [pid 15320:tid 2012] [client ::1:54631] AH01215:   File "C:\\Users\\gfranosc\\Downloads\\Python\\lib\\site-packages\\matplotlib\\pyplot.py", line 32, in &lt;module&gt;\r: C:/Users/gfranosc/Downloads/xampp-portable-win32-7.2.1-0-VC15/xampp/htdocs/Python/test.py
  [Fri Mar 13 10:46:36.221697 2020] [cgi:error] [pid 15320:tid 2012] [client ::1:54631] AH01215:     import matplotlib.colorbar\r: C:/Users/gfranosc/Downloads/xampp-portable-win32-7.2.1-0-VC15/xampp/htdocs/Python/test.py
  [Fri Mar 13 10:46:36.222692 2020] [cgi:error] [pid 15320:tid 2012] [client ::1:54631] AH01215:   File "C:\\Users\\gfranosc\\Downloads\\Python\\lib\\site-packages\\matplotlib\\colorbar.py", line 31, in &lt;module&gt;\r: C:/Users/gfranosc/Downloads/xampp-portable-win32-7.2.1-0-VC15/xampp/htdocs/Python/test.py
  [Fri Mar 13 10:46:36.222692 2020] [cgi:error] [pid 15320:tid 2012] [client ::1:54631] AH01215:     import matplotlib.contour as contour\r: C:/Users/gfranosc/Downloads/xampp-portable-win32-7.2.1-0-VC15/xampp/htdocs/Python/test.py
  [Fri Mar 13 10:46:36.223688 2020] [cgi:error] [pid 15320:tid 2012] [client ::1:54631] AH01215:   File "C:\\Users\\gfranosc\\Downloads\\Python\\lib\\site-packages\\matplotlib\\contour.py", line 16, in &lt;module&gt;\r: C:/Users/gfranosc/Downloads/xampp-portable-win32-7.2.1-0-VC15/xampp/htdocs/Python/test.py
  [Fri Mar 13 10:46:36.223688 2020] [cgi:error] [pid 15320:tid 2012] [client ::1:54631] AH01215:     import matplotlib.font_manager as font_manager\r: C:/Users/gfranosc/Downloads/xampp-portable-win32-7.2.1-0-VC15/xampp/htdocs/Python/test.py
  [Fri Mar 13 10:46:36.224683 2020] [cgi:error] [pid 15320:tid 2012] [client ::1:54631] AH01215:   File "C:\\Users\\gfranosc\\Downloads\\Python\\lib\\site-packages\\matplotlib\\font_manager.py", line 103, in &lt;module&gt;\r: C:/Users/gfranosc/Downloads/xampp-portable-win32-7.2.1-0-VC15/xampp/htdocs/Python/test.py
  [Fri Mar 13 10:46:36.224683 2020] [cgi:error] [pid 15320:tid 2012] [client ::1:54631] AH01215:     os.path.join(str(Path.home()), r'AppData\\Local\\Microsoft\\Windows\\Fonts'),\r: C:/Users/gfranosc/Downloads/xampp-portable-win32-7.2.1-0-VC15/xampp/htdocs/Python/test.py
  [Fri Mar 13 10:46:36.225680 2020] [cgi:error] [pid 15320:tid 2012] [client ::1:54631] AH01215:   File "C:\\Users\\gfranosc\\Downloads\\Python\\lib\\pathlib.py", line 1079, in home\r: C:/Users/gfranosc/Downloads/xampp-portable-win32-7.2.1-0-VC15/xampp/htdocs/Python/test.py
  [Fri Mar 13 10:46:36.225680 2020] [cgi:error] [pid 15320:tid 2012] [client ::1:54631] AH01215:     return cls(cls()._flavour.gethomedir(None))\r: C:/Users/gfranosc/Downloads/xampp-portable-win32-7.2.1-0-VC15/xampp/htdocs/Python/test.py
  [Fri Mar 13 10:46:36.225680 2020] [cgi:error] [pid 15320:tid 2012] [client ::1:54631] AH01215:   File "C:\\Users\\gfranosc\\Downloads\\Python\\lib\\pathlib.py", line 264, in gethomedir\r: C:/Users/gfranosc/Downloads/xampp-portable-win32-7.2.1-0-VC15/xampp/htdocs/Python/test.py
  [Fri Mar 13 10:46:36.226676 2020] [cgi:error] [pid 15320:tid 2012] [client ::1:54631] AH01215:     raise RuntimeError("Can't determine home directory")\r: C:/Users/gfranosc/Downloads/xampp-portable-win32-7.2.1-0-VC15/xampp/htdocs/Python/test.py
  [Fri Mar 13 10:46:36.226676 2020] [cgi:error] [pid 15320:tid 2012] [client ::1:54631] AH01215: RuntimeError: Can't determine home directory\r: C:/Users/gfranosc/Downloads/xampp-portable-win32-7.2.1-0-VC15/xampp/htdocs/Python/test.py
  [Fri Mar 13 10:46:36.228667 2020] [authz_core:error] [pid 15320:tid 2012] [client ::1:54631] AH01630: client denied by server configuration: C:/xampp/apache
  </code></pre>
  
  <p>Can someone help me? Do I "just" have to clarify the home directory? If yes, how can I do that?</p>