You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to use --requirements=python3crystax,pillow,sdl2,pysdl2,pyjnius since my existing codebase depends on pillow, and the APK build goes through fine but there seems to be some issue importing pillow at runtime:
08-10 14:35:37.179 12293 12318 I python : File "./myprg/button.py", line 5, in <module>
08-10 14:35:37.179 12293 12318 I python : import PIL.Image
08-10 14:35:37.179 12293 12318 I python : File "/mnt/expand/ccbe4e94-5878-4053-8382-d825486cc844/user/0/org.example.myapp/files/app/crystax_python/site-packages/PIL/__init__.py", line 27, in <module>
08-10 14:35:37.180 12293 12318 I python : __doc__ = __doc__.format(__version__) # include version in docstring
08-10 14:35:37.180 12293 12318 I python : AttributeError: 'NoneType' object has no attribute 'format'
08-10 14:35:37.258 12293 12318 I python : Python for android ended.
I'm not sure what's going on, but since pil doesn't build at all (gives a dependency graph error), I'm not sure how to proceed from here. Since I have an existing codebase depending on PIL/pillow (with pillow being preferred), I can't easily use SDL Image instead.
The text was updated successfully, but these errors were encountered:
I tried to use
--requirements=python3crystax,pillow,sdl2,pysdl2,pyjnius
since my existing codebase depends onpillow
, and the APK build goes through fine but there seems to be some issue importingpillow
at runtime:I'm not sure what's going on, but since
pil
doesn't build at all (gives a dependency graph error), I'm not sure how to proceed from here. Since I have an existing codebase depending on PIL/pillow (with pillow being preferred), I can't easily use SDL Image instead.The text was updated successfully, but these errors were encountered: