我现在使用Enthought Canopy已经有很长一段时间了。直到昨天它工作正常。但是现在当我尝试打开它时,它正在显示
LockError: Lock could not be acquired
以下是Canopy生成的错误报告的完整摘要:
Subject: Failed to setup your environment
Traceback (most recent call last):
File "build\bdist.win32\egg\canopy\app\bootstrap.py", line 1989, in main
File "build\bdist.win32\egg\canopy\app\bootstrap.py", line 1021, in main
File "build\bdist.win32\egg\canopy\app\bootstrap.py", line 1012, in _kill_leftover_procs
File "build\bdist.win32\egg\canopy\app\running_process_manager.py", line 116, in kill_leftover_procs
File "C:\Users\Dipto\AppData\Local\Enthought\Canopy\App\appdata\canopy-1.1.0.1371.win-x86_64\lib\contextlib.py", line 17, in __enter__
return self.gen.next()
File "build\bdist.win32\egg\canopy\app\running_process_manager.py", line 59, in lock
LockError: Lock could not be acquired
我在Windows 7上使用64位版本的Canopy。
如何让Canopy再次使用?
答案 0 :(得分:1)
退出Windows,重新登录,然后从C:\Users\Dipto\Appdata\Roaming\Enthought\Canopy\
删除以下任何文件(如果存在):
proc_manager.lock
process.lck
running_procs.pkl
然后重启Canopy。
然后我建议你更新到1.1.1,它通常会自动处理这个问题(虽然有时在Windows自身发布锁定文件之前可能仍需要注销/登录。)