[PyQt] ImportError: No module named 'time'

Jakob Simon-Gaarde jakobsg at gmail.com
Fri Mar 11 09:05:39 GMT 2016


I have marked: "Linux"

On Fri, Mar 11, 2016 at 9:46 AM, Phil Thompson <phil at riverbankcomputing.com>
wrote:

> On 10 Mar 2016, at 11:12 pm, Jakob Simon-Gaarde <jakobsg at gmail.com> wrote:
> >
> > Ahh - I see now that there are references to timemodule.c the .pro file
> - only problem is that it will never be build.
> >
> > Here is my pyqtdeploy command:
> >
> > pyqtdeploycli --project myproject.pdy --target linux-64 build
> >
> >
> > In the resulting .pro file I can see the following variable definitions:
> >
> > !linux-* {
> >     DEFINES += Py_BUILD_CORE
> >     INCLUDEPATH +=
> /home/jakob/dev/tmp/testpyqt/sysroot-linux/src/Python-3.5.1/Modules
> >     SOURCES +=
> /home/jakob/dev/tmp/testpyqt/sysroot-linux/src/Python-3.5.1/Modules/selectmodule.c
> >     SOURCES +=
> /home/jakob/dev/tmp/testpyqt/sysroot-linux/src/Python-3.5.1/Modules/_heapqmodule.c
> >     SOURCES +=
> /home/jakob/dev/tmp/testpyqt/sysroot-linux/src/Python-3.5.1/Modules/timemodule.c
> >     SOURCES +=
> /home/jakob/dev/tmp/testpyqt/sysroot-linux/src/Python-3.5.1/Modules/_math.c
> >     SOURCES +=
> /home/jakob/dev/tmp/testpyqt/sysroot-linux/src/Python-3.5.1/Modules/mathmodule.c
> > }
> >
> > And since it is exactly linux I am building for I will of course never
> get the modules build.
> >
> > I wonder if I am doing something wrong in the deployment process.
>
> What are the states of the "Use standard Python shared library" buttons on
> the "Standard Library" tab?
>
> Phil




-- 
Med venlig hilsen / Best regards
Jakob Simon-Gaarde
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20160311/a5f8afa3/attachment.html>


More information about the PyQt mailing list