[PyQt] ImportError: No module named 'time'
phil at riverbankcomputing.com
Thu Mar 10 10:08:38 GMT 2016
On 10 Mar 2016, at 8:31 am, Jakob Simon-Gaarde <jakobsg at gmail.com> wrote:
> More info. I just tried to start all over building the static version of Python. Here is the output.
> I noticed that Modules/timemodule.c isn't being compiled or linked into the final library.
> I'm guessing that's why I can't import the built-in time module.
Only the absolutlely required modules are compiled.
You should select any module you are explicitly importing on the Standard Library tab. However I would have expected that the time module would have been implicitly selected because other modules depend on it.
More information about the PyQt