[PyQt] ImportError: No module named 'time'
jakobsg at gmail.com
Thu Mar 10 08:31:27 GMT 2016
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
I'm guessing that's why I can't import the built-in time module.
Does anyone have a hint?
Thanks in advance
On Wed, Mar 9, 2016 at 1:02 PM, Jakob Simon-Gaarde <jakobsg at gmail.com>
> Is there anybody else who has experienced this problem?
> On Mon, Mar 7, 2016 at 2:41 PM, Jakob Simon-Gaarde <jakobsg at gmail.com>
>> I can see that soneone else reported something similar some time ago:
>> But I didn't get further to solving my problem by reading that thread.
>> I have build Python statically in accordance to the guide:
>> I can import PyQt5 modules and bring up UI-stuff, but if I make a simple
>> "import time", ImportError is raised.
>> I have run the nm command on my libpython3.5.a to see if there is a time
>> symbol anywhere, but that is not the case:
>> nm libpython3.5.a | grep -i time
>> Shouldn't it be referenced somewhere as a symbol. I'm guessing time
>> should be a built-in module.
>> Med venlig hilsen / Best regards
>> Jakob Simon-Gaarde
> Med venlig hilsen / Best regards
> Jakob Simon-Gaarde
Med venlig hilsen / Best regards
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the PyQt