From c8526856b3d22e7b97d71d745ad65075b9cb35ad Mon Sep 17 00:00:00 2001 From: cztomczak Date: Wed, 1 Aug 2018 21:56:42 +0200 Subject: [PATCH] Update Knowledge Base doc (#359) --- docs/Knowledge-Base.md | 35 ----------------------------------- 1 file changed, 35 deletions(-) diff --git a/docs/Knowledge-Base.md b/docs/Knowledge-Base.md index 5e49162f..91d5a516 100644 --- a/docs/Knowledge-Base.md +++ b/docs/Knowledge-Base.md @@ -1,7 +1,6 @@ # Knowledge Base Table of contents: -* [ImportError: DLL load failed (Windows)](#importerror-dll-load-failed-windows) * [Notifications about new releases / commits](#notifications-about-new-releases--commits) * [Changes in API after CEF updates](#changes-in-api-after-cef-updates) * [Differences between Python 2 and Python 3](#differences-between-python-2-and-python-3) @@ -20,40 +19,6 @@ Table of contents: * [Security](#security) -## ImportError: DLL load failed (Windows) - -If you get such an error on Windows: -```Text -import cefpython3 -Traceback (most recent call last): - File "", line 1, in - File "C:\Python3\lib\site-packages\cefpython3\__init__.py", line 59, in - from . import cefpython_py36 as cefpython -ImportError: DLL load failed: The specified module could not be found. -``` - -Then most probably this is caused, because you are missing -"msvcp140.dll" dependency (for Python 3.5/3.6/3.7 for example). This -is a dependency for Python C++ extensions (eg. cefpython_py36.pyd -depends on it). For Python 3.5/3.6/3.7 to fix this download -[Visual C++ Redistributable for VS2015](https://www.microsoft.com/en-us/download/details.aspx?id=52685) -(13 MB) - this is just a VC++ redistributable, not a Visual Studio -package. For 32-bit download "vc_redist.x86.exe" file and for -64-bit download "vc_redist.x64.exe" file. - -Explanation: msvcp140.dll is the DLL for the C++ runtime library. -This dependency is added by Cython when building CEF Python -module. It seems that Python 3.6 only ships "vcruntime140.dll" -which is the DLL for the C runtime library. - -On a side note, when using pyinstaller/py2exe tools for -freezing application into exe then these tools should -automatically detect the msvcp140.dll dependency and ship it -with your application. - -Created [Issue #359](../../../issues/359) to track this problem. - - ## Notifications about new releases / commits To be notified of new releases subscribe to this [RSS/Atom feed](../../../releases.atom).