python - module not found (conditional imports) with py2app -
i have little problem py2app when build app, have error
modules not found (conditional imports): * image (/library/frameworks/python.framework/versions/3.4/lib/python3.4/site-packages/py2app-0.9-py3.4.egg/py2app/recipes/pil/prescript.py) * java (platform) * java.lang (platform)
i guess path problem python 3, i'm not sure ty help
i guess build app this:
python3 setup.py myapp
and using py2app 0.9?
if trying
python3 setup.py myapp -a
does work? using aliases seems work in cases, doesn't if want deploy app other machines.
instead, explicitly tell py2app include packages:
python3 setup.py myapp --packages=pil
this include pil or pillow module. should work other modules, too.
Comments
Post a Comment