<html><body><div style="font-family: Arial; font-size: 10pt; color: #000000"><div>I think I am nearly there but some modules are still missing in the final build....</div><div><br></div><div>My Python (2.7.6) code imports various standard modules as well as some that have been installed into site-packages. In particular there is ipaddress, ntlm (<span style="font-size: 10pt;" data-mce-style="font-size: 10pt;"><span style="font-size: 10pt;" data-mce-style="font-size: 10pt;">python_ntlm-1.1.0-py2.7.egg) and apscheduler (</span></span>APScheduler-3.0.4-py2.7.egg).</div><div><br></div><div>The script runs correctly in my IDE (PyCharm) using a virtualenv.</div><div><br></div><div>When I build then run qmake it all appears to compile correctly but when I run the binary i get:</div><div><br></div><div><p style="margin: 0px; padding-left: 30px;">(ENV1)root@ubuntu14:~/plogin_build2# ./ProtexLoginApp <br>Traceback (most recent call last):<br> File "xxxxxxxxxxxx.py", line 54, in <module><br>ImportError: No module named ntlm</p><p style="margin: 0px;" data-mce-style="margin: 0px;"><br></p><p style="margin: 0px;" data-mce-style="margin: 0px;">the "import ipaddress" line comes before this and so imports correctly. Also the resources directory includes "ipaddress.pyo".</p><p style="margin: 0px;" data-mce-style="margin: 0px;"><br></p><p style="margin: 0px;" data-mce-style="margin: 0px;">If I reverse the order of the ntlm and apscheuler statements I get another No Module Named error but this time for the apscheduler module. Is the fact that both these are .egg files relevant? Are eggs a problem for pyqtdeploy?</p></div><div><br></div><div>So the question is how do I get these two modules to compile correctly?</div><div><br></div><div>NOTE: I am starting pyqtdeploy form within the virtualenv - is that correct? Does it make any difference?</div><div><span name="x"></span>-- <br>Regards,<br><div><br></div>John Hackett<br>Icon Information Systems<br>74 Gibsons Hill, Norbury, London, SW16 3JS<br>t: 020 8764 2663<br>f: 020 8711 3370<br>m: 07801-231118<br>e: john.hackett@icon-is.co.uk<br>w: www.icon-is.co.uk<br>skype: john_hackett<br>twitter: @iconinfosys<span name="x"></span><br></div><div><br></div></div></body></html>