我无法从Windows快捷方式运行Spyder。它根本没有打开。之后,我尝试从Anaconda导航器运行它,它显示以下错误。我已经卸载了Spyder并也重新安装了它。尝试在Anaconda中安装Opencv之后发生。
[1205/235251.482:ERROR:icu_util.cc(178)] Invalid file descriptor to ICU data received.
[1205/235251.483:FATAL:icu_util.cc(297)] Check failed: result.
Backtrace:
GetHandleVerifier [0x00007FFA2A88D261+125633]
QWebEngineUrlSchemeHandler::qt_static_metacall [0x00007FFA2A822E63+5555]
GetHandleVerifier [0x00007FFA2AB7A3B5+3193877]
QtWebEngineCore::AuthenticationDialogController::qt_static_metacall [0x00007FFA2A8026F5+7629589]
QtWebEngineCore::WebContentsAdapter::webContents [0x00007FFA2A0A8351+20433]
QtWebEngineCore::WebContentsAdapter::webContents [0x00007FFA2A0A89BE+22078]
QtWebEngineCore::WebContentsAdapter::WebContentsAdapter [0x00007FFA2A09C038+56]
QWebEngineHistoryItem::url [0x00007FFA55253547+423]
QWebEnginePage::QWebEnginePage [0x00007FFA55253893+147]
QWebEnginePage::QWebEnginePage [0x00007FFA552537DD+45]
(No symbol) [0x00007FFA5C9483C4]
(No symbol) [0x00007FFA756313BF]
type_call [0x00007FFA5364F8A7+167] (c:\ci\python_1572550317365\work\objects\typeobject.c:972)
_PyObject_FastCallKeywords [0x00007FFA5364F63A+378] (c:\ci\python_1572550317365\work\objects\call.c:199)
call_function [0x00007FFA53657709+1017] (c:\ci\python_1572550317365\work\python\ceval.c:4619)
_PyEval_EvalFrameDefault [0x00007FFA53657CEF+1199] (c:\ci\python_1572550317365\work\python\ceval.c:3125)
_PyFunction_FastCallDict [0x00007FFA53640C9D+221] (c:\ci\python_1572550317365\work\objects\call.c:322)
slot_tp_init [0x00007FFA5363EDF3+315] (c:\ci\python_1572550317365\work\objects\typeobject.c:6636)
type_call [0x00007FFA5364F8A7+167] (c:\ci\python_1572550317365\work\objects\typeobject.c:972)
_PyObject_FastCallKeywords [0x00007FFA5364F63A+378] (c:\ci\python_1572550317365\work\objects\call.c:199)
call_function [0x00007FFA53657709+1017] (c:\ci\python_1572550317365\work\python\ceval.c:4619)
_PyEval_EvalFrameDefault [0x00007FFA53657CEF+1199] (c:\ci\python_1572550317365\work\python\ceval.c:3125)
_PyFunction_FastCallDict [0x00007FFA53640C9D+221] (c:\ci\python_1572550317365\work\objects\call.c:322)
slot_tp_init [0x00007FFA5363EDF3+315] (c:\ci\python_1572550317365\work\objects\typeobject.c:6636)
type_call [0x00007FFA5364F8A7+167] (c:\ci\python_1572550317365\work\objects\typeobject.c:972)
_PyObject_FastCallKeywords [0x00007FFA5364F63A+378] (c:\ci\python_1572550317365\work\objects\call.c:199)
call_function [0x00007FFA53657709+1017] (c:\ci\python_1572550317365\work\python\ceval.c:4619)
_PyEval_EvalFrameDefault [0x00007FFA53657CEF+1199] (c:\ci\python_1572550317365\work\python\ceval.c:3125)
_PyFunction_FastCallDict [0x00007FFA53640C9D+221] (c:\ci\python_1572550317365\work\objects\call.c:322)
slot_tp_init [0x00007FFA5363EDF3+315] (c:\ci\python_1572550317365\work\objects\typeobject.c:6636)
type_call [0x00007FFA5364F8A7+167] (c:\ci\python_1572550317365\work\objects\typeobject.c:972)
_PyObject_FastCallKeywords [0x00007FFA5364F63A+378] (c:\ci\python_1572550317365\work\python\pythonrun.c:432)
PyRun_AnyFileExFlags [0x00007FFA537B513B+99] (c:\ci\python_1572550317365\work\python\pythonrun.c:85)
pymain_run_file [0x00007FFA5370137B+191] (c:\ci\python_1572550317365\work\modules\main.c:433)
pymain_run_filename [0x00007FFA53701423+111] (c:\ci\python_1572550317365\work\modules\main.c:1613)
pymain_run_python [0x00007FFA53670A24+390720] (c:\ci\python_1572550317365\work\modules\main.c:2873)
pymain_main [0x00007FFA536113A5+41] (c:\ci\python_1572550317365\work\modules\main.c:3415)
Py_Main [0x00007FFA53611052+82] (c:\ci\python_1572550317365\work\modules\main.c:3437)
答案 0 :(得分:0)
在使用spyder --debug-info verbose
通过命令行打开Spyder时,我遇到了同样的错误。
基于recommendation here,修复实际上非常简单。
第3点:
确保应用程序目录中存在icudtl.dat文件
只需复制icudtl.dat
即可解决此问题。
/c/anaconda3/envs/py37/Library/resources/icudtl.dat
/c/anaconda3/envs/py37/
在收到此错误之前,我收到一条错误消息,指出:Could not find QtWebEngineProcess.exe
此修复程序基于this recommendation。
将以下文件复制到C:\ Python36(python的根文件夹)似乎是一种解决方法
C:\ Python36 \ qtwebengine_devtools_resources.pak
C:\ Python36 \ qtwebengine_resources.pak
C:\ Python36 \ qtwebengine_resources_100p.pak
C:\ Python36 \ qtwebengine_resources_200p.pak
C:\ Python36 \ QtWebEngineProcess.exe