title: Python - Matplotlib / matplotlib.cbook.TimeoutError: LOCKERROR
body: <p>I faced this problem when I installed module <code>matplotlib</code> and wrote this code:</p>
  
  <pre><code>import matplotlib.pyplot as plt
  </code></pre>
  
  <p>And then here is the error:</p>
  
  <pre><code>"matplotlib.cbook.TimeoutError: LOCKERROR: matplotlib is trying to acquire the lock
  'C:\\Users\\Андрей\\.matplotlib\\.matplotlib_lock-*'
  and has failed. This maybe due to any other process holding this
  lock. If you are sure no other matplotlib process is running try
  removing these folders and trying again." 
  </code></pre>
  
  <p>So of course if it can not be imported it can not be used. </p>