[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] ImportError: No module named 'time'
From: Phil Thompson <phil () riverbankcomputing ! com>
Date: 2016-03-11 9:15:00
Message-ID: 8BDBCC57-FEED-48CE-BC3E-F7AB02C2DC7A () riverbankcomputing ! com
[Download RAW message or body]
On 11 Mar 2016, at 9:05 am, Jakob Simon-Gaarde <jakobsg@gmail.com> wrote:
>
> I have marked: "Linux"
So you are telling it you are using the system Python (with its time module) and not \
a Python you have built yourself.
Phil
> On Fri, Mar 11, 2016 at 9:46 AM, Phil Thompson <phil@riverbankcomputing.com> wrote:
> On 10 Mar 2016, at 11:12 pm, Jakob Simon-Gaarde <jakobsg@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
> _______________________________________________
> PyQt mailing list PyQt@riverbankcomputing.com
> https://www.riverbankcomputing.com/mailman/listinfo/pyqt
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic