我有一个我想要提供给Android的Python-Kivy应用程序。该应用程序使用Theano和Numpy。在Android设备上运行应用时,我会收到以下adb logcat:
Traceback (most recent call last):
I/python (24492): File "main.py", line 19, in <module>
I/python (24492): from theano import function
I/python (24492): File "/data/data/org.example.AppName/files/lib/python2.7/site-packages/theano/__init__.py", line 42, in <module>
I/python (24492): from theano.configdefaults import config
I/python (24492): File "/data/data/org.example.AppName/files/lib/python2.7/site-packages/theano/configdefaults.py", line 1486, in <module>
I/python (24492): "platform": platform.platform(),
I/python (24492): File "/home/user-name/.local/share/python-for-android/build/other_builds/python2/armeabi/python2/python-install/lib/python2.7/platform.py", line 1575, in platform
I/python (24492): File "/home/user-name/.local/share/python-for-android/build/other_builds/python2/armeabi/python2/python-install/lib/python2.7/platform.py", line 163, in libc_ver
I/python (24492): IOError: [Errno 21] Is a directory: '/data/data/org.example.AppName/files'
I/python (24492): Python for android ended.
我不知道如何继续,或者是否可以在Android中导入Theano。 Kivy应用程序适用于Linux和Windows。
提前致谢。