Frage

I'm getting

ImportError: MemoryLoadLibrary failed loading cefpython1\cefpython_py27.pyd

When bundle_options is set to 1 or 2.

I've tried to use solution suggested in How to compile cefpython to exe but it does not help.

War es hilfreich?

Lösung 2

So the problem was that libcef.dll should not be included to python library file. It should be located in the same folder with .exe file and excluded from library file

Andere Tipps

Make sure you have your setup.py in the same location where you have the module you ar trying to covnert to executable.

After that run

python setup.py py2exe

from that location. This should solve common import problems when running py2exe to create executable.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top