[PyQt] ImportError: No module named 'time'

Phil Thompson phil at riverbankcomputing.com
Thu Mar 10 12:27:09 GMT 2016


On 10 Mar 2016, at 11:38 am, Jakob Simon-Gaarde <jakobsg at gmail.com> wrote:
> 
> I have already selected it, and yes it was selected as dependency by other modules.
> 
> I still don't understand though. When is timemodule.c supposed to be compiled? Is it when I build my static version of Python, or is it when I pyqtdeploy my PyQt5 based project.
> 
> As far as I know time is never dynamically loaded module but a pure built-in module.

It's compiled when you compile your application. You should see a timemodule.o in your build directory.

Phil


More information about the PyQt mailing list