Я столкнулся с этой проблемой, когда установил модуль matplotlib
и написал этот код:
import matplotlib.pyplot as plt
А вот и ошибка:
"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."
Так что, конечно, если он не может быть импортирован, он не может быть использован.