[PyQt] pyqtdeploy, Android and extensions
Robert Kent
rob at gulon.co.uk
Fri Apr 8 18:46:00 BST 2016
And if I try and load it via importlib.machinary.ExtensionFileLoader it
complains that the module has no attribute 'load_dynamic'... which at
least confirms it can read the library(?)...
On 08/04/2016 18:18, Robert Kent wrote:
> Just re-built python on the off-chance (definitely with
> --enable-dynamic-loading) and then subsequently my app and the problem
> persists:
>
> ImportError:
> Don't know how to import numpy.core.multiarray (type code 3)
>
> Pretty stumped at the moment....
>
> On 08/04/2016 18:10, Robert Kent wrote:
>> Pretty sure I did (I remember that being an issue on MacOSX and
>> Windows) but I will go and check to make sure
>>
>> Cheers, Rob
>>
>> On 08/04/2016 18:09, Phil Thompson wrote:
>>> On 8 Apr 2016, at 6:08 pm, Robert Kent <rob at gulon.co.uk> wrote:
>>>> Hi Phil,
>>>>
>>>> So, I've gone back and used python-for-android (i.e. kivy) to build
>>>> numpy and I still get the same error, so it seems that its either
>>>> the way python is built or the way in which it imports modules that
>>>> is different. I'm still confused by the fact that exception message
>>>> is that it doesn't know how to import a module built as a C
>>>> extension... this makes me think that I have to do something with
>>>> python rather than numpy...
>>>>
>>>> Any thoughts any one?
>>> I assume you have built Python with support for dynamically loading
>>> extension modules enabled?
>>>
>>> Phil
>>
>> _______________________________________________
>> PyQt mailing list PyQt at riverbankcomputing.com
>> https://www.riverbankcomputing.com/mailman/listinfo/pyqt
>
> _______________________________________________
> PyQt mailing list PyQt at riverbankcomputing.com
> https://www.riverbankcomputing.com/mailman/listinfo/pyqt
More information about the PyQt
mailing list