[PyQt] pyqtdeploy: compiler and linker errors fixed, but .exe won't run.

Jacob Kanev j_kanev at arcor.de
Fri Oct 26 15:24:45 BST 2018


Hi Shyne, thank you for your quick answer!

On Friday, 26 October 2018 15:17:45 CEST shyne wrote:
> You can open a command prompt, cd to the release path and call the exe 
> file to see the output.

Oh, why didn't I think of that! This gives me a module-not-found error:

	Traceback (most recent call last):
	  File "__main__.py", line 2, in <module>
	   ...
	  File "bootstrap.py", line 965, in _find_and_load_unlocked
	ModuleNotFoundError: No module named 'treetime'

"treetime" is the main module of the application, inside a package "treetime". I get the error independent of whether the entry point stated in pyqtdeploy is a function in a file outside the package, or a file inside). Curiously, the directory ...\build-win-32\resources\treetime is empty. Shouldn't some .pyo files be inside it? Have I missed a step (built sysroot, build, qmake, nmake)? .pyo files of other packages are present. Any hints would be appreciated.

All the best, Jacob.

   ______________________________________
   Jacob Kanev
   Prickle-Prickle, 7th of The Aftermath, 3184
      email: jkanev at zoho.com  |  threema: PPJ6E4FY
      instagram: j_kanev | twitter: @j_kanev  | jabber: jkanev at jabber.ccc.de
      web: http://jkanev.info  |  blog: http://jacobkanev.wordpress.com






More information about the PyQt mailing list