[PyQt] Importing marble fails
heathmatlock
heathmatlock at gmail.com
Sat Jan 28 16:53:29 GMT 2012
On Sat, Jan 28, 2012 at 9:47 AM, David Boddie <david at boddie.org.uk> wrote:
> On Sat, 28 Jan 2012 02:12:19 -0600, heathmatlock wrote:
>
>> I compiled one of the newer marble commits,
>> 10c910a9cae3c4e8eb9be442d80125b7e7338e67, and copied the marble.so
>> into /usr/lib/python2.7/dist-packages/PyKDE4 and when I go to import
>> marble within a python interpreter, this error is
>> given:http://paste.kde.org/194432/
>
> Are you sure that the module.so file contains the Python bindings for Marble?
> If you try to import a regular C/C++ library into Python, you will get the
> same error.
>
> How did you configure the Marble build?
I'm not sure that the file contains the Python bindings, it was just
the best guess. This is what was used to configure marble:
~/Devel/build/marble$ cmake ../../src/marble/
-DEXPERIMENTAL_PYTHON_BINDINGS=TRUE -DCMAKE_BUILD_TYPE=debugfull
-DCMAKE_INSTALL_PREFIX=/home/heath/Devel/install/marble/
--
Heath Matlock
+1 256 274 4225
More information about the PyQt
mailing list