I need to deploy a embeded version of python26.
I have it working under windows folowing the setup of http://www.portablepython.com/.
However after read this I try to pack everything into a zip file, and left out python.exe, python26.dll. However, that not work if python is not pre-installed.
Also, I try pre-compilling everything with python -m compileall .
, but not do the trick.
When run python this way, this is the error:
'import site' failed; use -v for traceback
This is the traceback:
# installing zipimport hook
import zipimport # builtin
# installed zipimport hook
# zipimport: found 1283 names in D:\Bajados\Adobe\python26.zip
'import site' failed; traceback:
ImportError: No module named site
I want to know the inner details that could make this work.