11# Knowledge Base
22
33Table of contents:
4- * [ ImportError: DLL load failed (Windows)] ( #importerror-dll-load-failed-windows )
54* [ Notifications about new releases / commits] ( #notifications-about-new-releases--commits )
65* [ Changes in API after CEF updates] ( #changes-in-api-after-cef-updates )
76* [ Differences between Python 2 and Python 3] ( #differences-between-python-2-and-python-3 )
@@ -20,40 +19,6 @@ Table of contents:
2019* [ Security] ( #security )
2120
2221
23- ## ImportError: DLL load failed (Windows)
24-
25- If you get such an error on Windows:
26- ``` Text
27- import cefpython3
28- Traceback (most recent call last):
29- File "<stdin>", line 1, in <module>
30- File "C:\Python3\lib\site-packages\cefpython3\__init__.py", line 59, in <module>
31- from . import cefpython_py36 as cefpython
32- ImportError: DLL load failed: The specified module could not be found.
33- ```
34-
35- Then most probably this is caused, because you are missing
36- "msvcp140.dll" dependency (for Python 3.5/3.6/3.7 for example). This
37- is a dependency for Python C++ extensions (eg. cefpython_py36.pyd
38- depends on it). For Python 3.5/3.6/3.7 to fix this download
39- [ Visual C++ Redistributable for VS2015] ( https://www.microsoft.com/en-us/download/details.aspx?id=52685 )
40- (13 MB) - this is just a VC++ redistributable, not a Visual Studio
41- package. For 32-bit download "vc_redist.x86.exe" file and for
42- 64-bit download "vc_redist.x64.exe" file.
43-
44- Explanation: msvcp140.dll is the DLL for the C++ runtime library.
45- This dependency is added by Cython when building CEF Python
46- module. It seems that Python 3.6 only ships "vcruntime140.dll"
47- which is the DLL for the C runtime library.
48-
49- On a side note, when using pyinstaller/py2exe tools for
50- freezing application into exe then these tools should
51- automatically detect the msvcp140.dll dependency and ship it
52- with your application.
53-
54- Created [ Issue #359 ] ( ../../../issues/359 ) to track this problem.
55-
56-
5722## Notifications about new releases / commits
5823
5924To be notified of new releases subscribe to this [ RSS/Atom feed] ( ../../../releases.atom ) .
0 commit comments