CEF Python v49.0 for Windows with WinXP/Vista support
A special release for legacy systems
This is a special release only for Windows for legacy systems such as Windows XP and Vista. This release includes Chromium 49.0.2623.110 which is the latest Chromium version that supports WinXP/Vista.
Installation
You can install pypi/cefpython3 package using pip tool. You can also download packages for offline installation available on this GitHub Release page. Command to install with pip:
pip --no-cache-dir install cefpython3==49.0
Please note that if you were previously installing cefpython3 package it is required to use the --no-cache-dir
flag, otherwise pip will end up with error message No matching distribution found for cefpython3==49.0
. This happens because 49.0 release occured after 57.0 and 66.0 releases.
Support matrix
OS | Py2 | Py3 | 32bit | 64bit | Requirements |
---|---|---|---|---|---|
Windows | 2.7 | 3.4 | Yes | Yes | Windows XP+ |
Thanks to the sponsor
Thanks to Fivestars Loyalty, Inc. for sponsoring this release. Please visit its website: https://www.fivestars.com/ .
Changes and notes for this release
- Update to Chromium 49.0.2623.110 (#460)
- Support for Windows XP SP3 or later (Vista, 7, 8, 10). Chromium requires at least SP3 on WinXP.
- Support for Python 2.7 and 3.4. Python 3.4 is the last version of Python that supports Windows XP.
- There were multiple changes in upstream CEF that are backward incompatible and thus require modifications in your app code. See the Migration Guide document for details.
- Documentation is available in the docs/ directory in the
cefpython49-winxp
branch - API reference is available in the api/ directory in the
cefpython49-winxp
branch - Examples that were tested and do work fine:
hello_world.py
,gtk2.py
,qt.py pyqt4
,qt.py pyside
,tutorial.py
,screenshot.py
,tkinter_.py
andwxpython.py
(all exceptgtk3.py
which wasn't tested) - Add snippets in the examples/snippets/ directory
- Update
screenshot.py
example to pass switches to disable GPU acceleration which is not supported in OSR mode and can cause issues if enabled. Also pass additional Chromium switches to enhance performance. (#463) - Do not call
WindowUtils
.OnSize function which can sometimes cause app hanging during window resize event. Call instead the newWindowUtils
.UpdateBrowserSize function. Except when you use thepywin32.py
example, in such caseWindowUtils.OnSize
must be called. (#463) - Known issue:
qt.py pyqt4
andgtk2.py
examples can sometimes hang app during window resize (rare, but happens from time to time) - Update unit tests and add OSR unit test
- The
cefpython57
branch was used as a base for thecefpython49-winxp
branch and thus it comes with all the new build tools, fixes and new examples - Upstream CEF prebuilt binaries for this release are available in release tagged v49-upstream.
Known issues
- Enter key doesn't work in Developer Tools window in the
wxpython.py
example. Enter key works fine when running thehello_world.py
example, so this is only an issue with wxPython. To resolve it create either adevtools.py
script or use remote debugging and open DevTools in a Google Chrome browser. Thedevtools.py
script is basically ahello_world.py
example with one change to url, set it tohttp://127.0.0.1:1234/
. In your wxpython app setApplicationSettings.remote_debugging_port
to1234
and open DevTools popup by executingsubprocess.Popen([sys.executable, "devtools.py"])
. The "Developer Tools" from mouse context menu won't work, however you can implement a custom context menu in javascript.