Error message about python2
See original GitHub issueTrying to compile an apk using buildozer 0.39. I get a strange error:
# Run '/usr/bin/python -m pythonforandroid.toolchain create --dist_name=XXXXXX --bootstrap=sdl2 --requirements=python2,kivy,sqlite3,requests,feedparser,html2bbcode --arch armeabi-v7a --copy-libs --color=always --storage-dir="/home/kivy/4Build/XXXXXX/.buildozer/android/platform/build" --ndk-api=21'
# Cwd /home/kivy/4Build/XXXXXX/.buildozer/android/platform/python-for-android
[ERROR]: Build failed: python-for-android no longer supports running under Python 2. Either upgrade to Python 3.4 or higher (recommended), or revert to python-for-android 2019.07.08. Note that you *can* still target Python 2 on Android by including python2 in your requirements.
The command I use includes the python2 requirement, but python-for-android says its not…
- Python: 2.7.15+
- OS: Ubuntu 18.04 VM
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
8. Errors and Exceptions — Python 2.7.2 documentation
The last line of the error message indicates what happened. Exceptions come in different types, and the type is printed as part of...
Read more >8. Errors and Exceptions — Python 3.11.1 documentation
The last line of the error message indicates what happened. Exceptions come in different types, and the type is printed as part of...
Read more >Python not found exception due to node-sass and node-gyp
The error message means that it cannot locate your python executable or binary. In many cases, it's installed at c:\python27. if it's not ......
Read more >Error Types in Python - TutorialsTeacher
The most common reason of an error in a Python program is when a certain statement is not in accordance with the prescribed...
Read more >python 2.7 syntax errors in python3 code
I have some python3 code with "Extended Iterable Unpacking". e.g. calling a function like this: foo(*args). This was not allowed in python2.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
There’re definitely things to improve in the process and also we need to document it
Hm, never used docker before… Maybe I’ll try it in the future (yet another thing to learn ;o) Thanks