I faced this problem when I installed module matplotlib
and wrote this code:
import matplotlib.pyplot as plt
And then here is the error:
"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."
So of course if it can not be imported it can not be used.
Try deleting the folder .matplotlib
for you it is in
C:\Users\Андрей\.matplotlib
Then import the python module.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With