问题:
启动jupyter notebook正常打开,但kelnel error无法正常使用,提示错误:pywintypes.error: (87, 'SetFileSecurity', '参数错误.') 或 pywintypes.error: (87, 'SetFileSecurity', 'Parameters incorrect.')。
解决方案:
Win Error大都是系统环境问题导致的。SetFileSecurity看着是需要一些写操作权限的,jupyter notebook需要C:\Users\user.name\AppData\Roaming\jupyter目录的读写权限,如果没有可能导致无法打开,可以试着管理员身份运行,并在命令行先输入:
set JUPYTER_ALLOW_INSECURE_WRITES=1
然后再启动jupyter notebook。