title: Linux Mint Cinnamon error opening settings (No module named 'PIL')
body: <p>since I updated Cinnamon to 5.0.6 I can't access any entry under 'Preferences', nothing happens. When I try to open from CLI I have the following :</p>
  <pre><code>#&gt; cinnamon-settings
  No module named 'PIL'
  </code></pre>
  <p>I searched a lot but nothing suits my problem. I understand that it's a problem with Python and PIL module or the newer module Pillow but none of the solutions provided works for me.</p>
  <p>Some informations :</p>
  <pre><code>
  #&gt; python --version
  Python 3.8.10
  
  #&gt; /usr/bin/env python
  Python 3.8.10 (default, Sep 28 2021, 16:10:42) 
  
  #&gt; pip -V
  pip 21.3 from /usr/local/lib/python3.8/dist-packages/pip (python 3.8)
  
  #&gt; pip show Pillow
  Name: Pillow
  Version: 8.4.0
  Summary: Python Imaging Library (Fork)
  Home-page: https://python-pillow.org
  Author: Alex Clark (PIL Fork Author)
  Author-email: aclark@python-pillow.org
  License: HPND
  Location: /home/xxx/.local/lib/python3.8/site-packages
  Requires: 
  Required-by: image, imageio, img2pdf, matplotlib, ocrmypdf, pikepdf, reportlab, scikit-image
  
  
  </code></pre>
  <p>Do you have any ideas ?</p>
  <p>Thanks</p>
  <p>EDIT : I found this on the Cinnamon 5.0.6 changelog, I think this is the problem</p>
  <blockquote>
  <ul>
  <li>cinnamon-settings: Remove ~/.local and /usr/local from python's module search paths</li>
  </ul>
  </blockquote>