[PyQt] pyqtdeployed app doesn't find time, datetime
pedrudehuere at hotmail.com
Mon Jul 28 14:02:55 BST 2014
so here I am with my pyqtdeployed application (thanks Phil for the
response of 2014/07/13), I run qmake and make successfully,
but when I launch the generated executable it says:
ImportError: No module named time
I boiled it down to a tiny python script which I then pyqtdeploy'd,
qmake'd and make'd:
print("it is %s" % time.time())
Same result, I did that with /datetime/ too, same result.
I built python with /time/ (and others like /datetime/, etc.) as static
modules (via the Modules/Setup file),
if I open the used interpreter and do:
instead of indicating the .so file as it does normally. I think that
indicates they are static, right?
also, in the standard library in lib-dynload /time.so, datetime.so/ are
not present, another hint that they are built statically, right?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the PyQt