Fwd: pyqtdeploy/can not build a project (v3.0.0)

Phil Thompson phil at riverbankcomputing.com
Mon Aug 31 11:00:37 BST 2020


On 31/08/2020 10:45, Maxime Gendebien wrote:
> So I've investigated a bit further and came across this:
> 
> When I manually run:
>         python pyqtdeploy_main_py
> (after adding a call to main to it), I do get a Traceback:

Why would you do that?

> Traceback (most recent call last):
>   File "pyqtdeploy_main.py", line 79, in <module>
>     main()
>   File "pyqtdeploy_main.py", line 41, in main
>     from . import Project, UserException
> ImportError: attempted relative import with no known parent package
> 
> And indeed these imports do not seem to relate to anything in this 
> project:
> there is a project folder but no UserException class except in
> user_exception.py, ...
> 
> What's going on?

To run pyqtdeploy, you run...

     pyqtdeploy

Phil


More information about the PyQt mailing list