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'm trying to create a kivy application, and I'd like to include the pint library so I added pint to my buildozer.spec file:
requirements = kivy, hostpython2, pint
However, when running
buildozer android_new debug deploy
I get an error (see the log below). Everything works fine if I remove pint from the requirements, but I don't understand why this would cause errors since pint is a pure python module with no dependencies.
# Check configuration tokens
# Ensure build layout
# Check configuration tokens
# Preparing build
# Check requirements for android
# Search for Git (git)
# -> found at /usr/bin/git
# Search for Cython (cython)
# -> found at /Users/me/anaconda/bin/cython
# Search for Java compiler (javac)
# -> found at /System/Library/Frameworks/JavaVM.framework/Versions/A/Commands/javac
# Search for Java keytool (keytool)
# -> found at /System/Library/Frameworks/JavaVM.framework/Versions/A/Commands/keytool
# Install platform
# Apache ANT found at /Users/me/.buildozer/android/platform/apache-ant-1.9.4
# Android SDK found at /Users/me/.buildozer/android/platform/android-sdk-20
# Android NDK found at /Users/me/.buildozer/android/platform/android-ndk-r9c
# Check application requirements
# Check garden requirements
# Compile platform
# Run 'python -m pythonforandroid.toolchain create --dist_name=easierGroceries --bootstrap=sdl2 --requirements=kivy,hostpython2,pint --arch armeabi-v7a --copy-libs --local-recipes /Users/me/Personal/groecery/.buildozer/android/platform/python-for-android/recipes --color=always --storage-dir=/Users/me/Personal/grocery/.buildozer/android/platform/build'
# Cwd /Users/me/Personal/grocery/.buildozer/android/platform/python-for-android-master
[INFO]: Will compile for the following archs: armeabi-v7a
[INFO]: Found Android API target in $ANDROIDAPI
[INFO]: Available Android APIs are (19)
[INFO]: Requested API target 19 is available, continuing.
[INFO]: Found NDK dir in $ANDROIDNDK
[INFO]: Got NDK version from $ANDROIDNDKVER
[INFO]: Using Google NDK r9c
[INFO]: Found virtualenv at /Users/me/anaconda/bin/virtualenv
[INFO]: ccache is missing, the build will not be optimized in the future.
[INFO]: Found the following toolchain versions: ['4.6', '4.8', 'clang3.3']
[INFO]: Picking the latest gcc toolchain, here 4.8
[WARNING]: Missing executable: autoconf is not installed
[WARNING]: Missing executable: automake is not installed
[WARNING]: Missing executable: libtoolize is not installed
[INFO]: No existing dists meet the given requirements!
[INFO]: No dist exists that meets your requirements, so one will be built.
[INFO]: Bootstrap requires recipes ['sdl2', ('python2', 'python3crystax')]
[INFO]: Loaded recipe sdl2 (depends on [('python2', 'python3crystax'), 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf'], conflicts ['sdl', 'pygame', 'pygame_bootstrap_components'])
[INFO]: Loaded recipe kivy (depends on ['pyjnius', ('sdl2', 'pygame'), ('python2', 'python3crystax')])
[INFO]: Loaded recipe hostpython2 (depends on [], conflicts ['hostpython3'])
[INFO]: No recipe named pint; will attempt to install with pip
[INFO]: Loaded recipe sdl2_image (depends on [])
[INFO]: Loaded recipe sdl2_mixer (depends on [])
[INFO]: Loaded recipe sdl2_ttf (depends on [])
[INFO]: Loaded recipe pyjnius (depends on ['six', ('sdl2', 'sdl', 'genericndkbuild'), ('python2', 'python3crystax')])
[INFO]: Loaded recipe six (depends on [('python2', 'python3crystax')])
[INFO]: Found multiple valid recipe sets:
[INFO]: ['six', 'sdl2', u'kivy', 'sdl2_ttf', u'hostpython2', 'sdl2_mixer', 'sdl2_image', 'pyjnius', 'python2']
[INFO]: ['sdl2', 'six', 'sdl2_ttf', u'hostpython2', 'python3crystax', 'sdl2_mixer', 'sdl2_image', 'pyjnius', u'kivy']
[INFO]: Using the first of these: ['six', 'sdl2', u'kivy', 'sdl2_ttf', u'hostpython2', 'sdl2_mixer', 'sdl2_image', 'pyjnius', 'python2']
[INFO]: The selected bootstrap is sdl2
[INFO]: # Creating dist with sdl2 bootstrap
[INFO]: Dist will have name easierGroceries and recipes (kivy, hostpython2, pint)
[INFO]: -> running cp -r /Users/me/Personal/grocery/.buildozer/android/platform/python-for-android-mast...(and 150 more)
[INFO]: -> directory context /Users/me/Personal/grocery/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python2
[INFO]: <- directory context /Users/me/Personal/grocery/.buildozer/android/platform/python-for-android-master
[INFO]: Recipe build order is [u'hostpython2', 'python2', 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf', 'sdl2', 'six', 'pyjnius', u'kivy']
[INFO]: The requirements (pint) were not found as recipes, they will be installed with pip.
[INFO]: # Downloading recipes
[INFO]: Downloading hostpython2
[INFO]: -> running mkdir -p /Users/me/Personal/grocery/.buildozer/android/platform/build/packages/hostpython2
[INFO]: -> directory context /Users/me/Personal/grocery/.buildozer/android/platform/build/packages/hostpython2
[INFO]: -> running basename http://python.org/ftp/python/2.7.2/Python-2.7.2.tar.bz2
[INFO]: hostpython2 download already cached, skipping
[WARNING]: Should check headers here! Skipping for now.
[INFO]: <- directory context /Users/me/Personal/grocery/.buildozer/android/platform/python-for-android-master
[INFO]: Downloading python2
[INFO]: -> running mkdir -p /Users/me/Personal/grocery/.buildozer/android/platform/build/packages/python2
[INFO]: -> directory context /Users/me/Personal/grocery/.buildozer/android/platform/build/packages/python2
[INFO]: -> running basename http://python.org/ftp/python/2.7.2/Python-2.7.2.tar.bz2
[INFO]: python2 download already cached, skipping
[WARNING]: Should check headers here! Skipping for now.
[INFO]: <- directory context /Users/me/Personal/grocery/.buildozer/android/platform/python-for-android-master
[INFO]: Downloading sdl2_image
[INFO]: -> running mkdir -p /Users/me/Personal/grocery/.buildozer/android/platform/build/packages/sdl2_image
[INFO]: -> directory context /Users/me/Personal/grocery/.buildozer/android/platform/build/packages/sdl2_image
[INFO]: -> running basename https://www.libsdl.org/projects/SDL_image/release/SDL2_image-2.0.1.tar.gz
[INFO]: sdl2_image download already cached, skipping
[WARNING]: Should check headers here! Skipping for now.
[INFO]: <- directory context /Users/me/Personal/grocery/.buildozer/android/platform/python-for-android-master
[INFO]: Downloading sdl2_mixer
[INFO]: -> running mkdir -p /Users/me/Personal/grocery/.buildozer/android/platform/build/packages/sdl2_mixer
[INFO]: -> directory context /Users/me/Personal/grocery/.buildozer/android/platform/build/packages/sdl2_mixer
[INFO]: -> running basename https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-2.0.1.tar.gz
[INFO]: sdl2_mixer download already cached, skipping
[WARNING]: Should check headers here! Skipping for now.
[INFO]: <- directory context /Users/me/Personal/grocery/.buildozer/android/platform/python-for-android-master
[INFO]: Downloading sdl2_ttf
[INFO]: -> running mkdir -p /Users/me/Personal/grocery/.buildozer/android/platform/build/packages/sdl2_ttf
[INFO]: -> directory context /Users/me/Personal/grocery/.buildozer/android/platform/build/packages/sdl2_ttf
[INFO]: -> running basename https://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-2.0.14.tar.gz
[INFO]: sdl2_ttf download already cached, skipping
[WARNING]: Should check headers here! Skipping for now.
[INFO]: <- directory context /Users/me/Personal/grocery/.buildozer/android/platform/python-for-android-master
[INFO]: Downloading sdl2
[INFO]: -> running mkdir -p /Users/me/Personal/grocery/.buildozer/android/platform/build/packages/sdl2
[INFO]: -> directory context /Users/me/Personal/grocery/.buildozer/android/platform/build/packages/sdl2
[INFO]: -> running basename https://www.libsdl.org/release/SDL2-2.0.4.tar.gz
[INFO]: sdl2 download already cached, skipping
[WARNING]: Should check headers here! Skipping for now.
[INFO]: <- directory context /Users/me/Personal/grocery/.buildozer/android/platform/python-for-android-master
[INFO]: Downloading six
[INFO]: -> running mkdir -p /Users/me/Personal/grocery/.buildozer/android/platform/build/packages/six
[INFO]: -> directory context /Users/me/Personal/grocery/.buildozer/android/platform/build/packages/six
[INFO]: -> running basename https://pypi.python.org/packages/source/s/six/six-1.9.0.tar.gz
[INFO]: six download already cached, skipping
[WARNING]: Should check headers here! Skipping for now.
[INFO]: <- directory context /Users/me/Personal/grocery/.buildozer/android/platform/python-for-android-master
[INFO]: Downloading pyjnius
[INFO]: -> running mkdir -p /Users/me/Personal/grocery/.buildozer/android/platform/build/packages/pyjnius
[INFO]: -> directory context /Users/me/Personal/grocery/.buildozer/android/platform/build/packages/pyjnius
[INFO]: -> running basename /~https://github.com/kivy/pyjnius/archive/master.zip
[INFO]: pyjnius download already cached, skipping
[WARNING]: Should check headers here! Skipping for now.
[INFO]: <- directory context /Users/me/Personal/grocery/.buildozer/android/platform/python-for-android-master
[INFO]: Downloading kivy
[INFO]: -> running mkdir -p /Users/me/Personal/grocery/.buildozer/android/platform/build/packages/kivy
[INFO]: -> directory context /Users/me/Personal/grocery/.buildozer/android/platform/build/packages/kivy
[INFO]: -> running basename /~https://github.com/kivy/kivy/archive/master.zip
[INFO]: kivy download already cached, skipping
[WARNING]: Should check headers here! Skipping for now.
[INFO]: <- directory context /Users/me/Personal/grocery/.buildozer/android/platform/python-for-android-master
[INFO]: # Building all recipes for arch armeabi-v7a
[INFO]: # Unpacking recipes
[INFO]: Unpacking hostpython2 for armeabi-v7a
[INFO]: -> running basename http://python.org/ftp/python/2.7.2/Python-2.7.2.tar.bz2
[INFO]: -> directory context /Users/me/Personal/grocery/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop
[INFO]: hostpython2 is already unpacked, skipping
[INFO]: <- directory context /Users/me/Personal/grocery/.buildozer/android/platform/python-for-android-master
[INFO]: Unpacking python2 for armeabi-v7a
[INFO]: -> running basename http://python.org/ftp/python/2.7.2/Python-2.7.2.tar.bz2
[INFO]: -> directory context /Users/me/Personal/grocery/.buildozer/android/platform/build/build/other_builds/python2/armeabi-v7a
[INFO]: python2 is already unpacked, skipping
[INFO]: <- directory context /Users/me/Personal/grocery/.buildozer/android/platform/python-for-android-master
[INFO]: Unpacking sdl2_image for armeabi-v7a
[INFO]: -> running basename https://www.libsdl.org/projects/SDL_image/release/SDL2_image-2.0.1.tar.gz
[INFO]: -> directory context /Users/me/Personal/grocery/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python2/jni
[INFO]: sdl2_image is already unpacked, skipping
[INFO]: <- directory context /Users/me/Personal/grocery/.buildozer/android/platform/python-for-android-master
[INFO]: Unpacking sdl2_mixer for armeabi-v7a
[INFO]: -> running basename https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-2.0.1.tar.gz
[INFO]: -> directory context /Users/me/Personal/grocery/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python2/jni
[INFO]: sdl2_mixer is already unpacked, skipping
[INFO]: <- directory context /Users/me/Personal/grocery/.buildozer/android/platform/python-for-android-master
[INFO]: Unpacking sdl2_ttf for armeabi-v7a
[INFO]: -> running basename https://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-2.0.14.tar.gz
[INFO]: -> directory context /Users/me/Personal/grocery/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python2/jni
[INFO]: sdl2_ttf is already unpacked, skipping
[INFO]: <- directory context /Users/me/Personal/grocery/.buildozer/android/platform/python-for-android-master
[INFO]: Unpacking sdl2 for armeabi-v7a
[INFO]: -> running basename https://www.libsdl.org/release/SDL2-2.0.4.tar.gz
[INFO]: -> directory context /Users/me/Personal/grocery/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python2/jni
[INFO]: sdl2 is already unpacked, skipping
[INFO]: <- directory context /Users/me/Personal/grocery/.buildozer/android/platform/python-for-android-master
[INFO]: Unpacking six for armeabi-v7a
[INFO]: -> running basename https://pypi.python.org/packages/source/s/six/six-1.9.0.tar.gz
[INFO]: -> directory context /Users/me/Personal/grocery/.buildozer/android/platform/build/build/other_builds/six-python2/armeabi-v7a
[INFO]: six is already unpacked, skipping
[INFO]: <- directory context /Users/me/Personal/grocery/.buildozer/android/platform/python-for-android-master
[INFO]: Unpacking pyjnius for armeabi-v7a
[INFO]: -> running basename /~https://github.com/kivy/pyjnius/archive/master.zip
[INFO]: -> directory context /Users/me/Personal/grocery/.buildozer/android/platform/build/build/other_builds/pyjnius-python2-sdl2/armeabi-v7a
[INFO]: pyjnius is already unpacked, skipping
[INFO]: <- directory context /Users/me/Personal/grocery/.buildozer/android/platform/python-for-android-master
[INFO]: Unpacking kivy for armeabi-v7a
[INFO]: -> running basename /~https://github.com/kivy/kivy/archive/master.zip
[INFO]: -> directory context /Users/me/Personal/grocery/.buildozer/android/platform/build/build/other_builds/kivy-python2-sdl2/armeabi-v7a
[INFO]: kivy is already unpacked, skipping
[INFO]: <- directory context /Users/me/Personal/grocery/.buildozer/android/platform/python-for-android-master
[INFO]: # Prebuilding recipes
[INFO]: Prebuilding hostpython2 for armeabi-v7a
[INFO]: -> running cp /Users/me/Personal/grocery/.buildozer/android/platform/python-for-android-master/...(and 180 more)
[INFO]: Prebuilding python2 for armeabi-v7a
[INFO]: python2 has no prebuild_armeabi_v7a, skipping
[INFO]: Applying patches for python2[armeabi-v7a]
[INFO]: python2 already patched, skipping
[INFO]: Prebuilding sdl2_image for armeabi-v7a
[INFO]: sdl2_image has no prebuild_armeabi_v7a, skipping
[INFO]: Applying patches for sdl2_image[armeabi-v7a]
[INFO]: sdl2_image already patched, skipping
[INFO]: Prebuilding sdl2_mixer for armeabi-v7a
[INFO]: sdl2_mixer has no prebuild_armeabi_v7a, skipping
[INFO]: Applying patches for sdl2_mixer[armeabi-v7a]
[INFO]: sdl2_mixer already patched, skipping
[INFO]: Prebuilding sdl2_ttf for armeabi-v7a
[INFO]: sdl2_ttf has no prebuild_armeabi_v7a, skipping
[INFO]: Prebuilding sdl2 for armeabi-v7a
[INFO]: sdl2 has no prebuild_armeabi_v7a, skipping
[INFO]: Applying patches for sdl2[armeabi-v7a]
[INFO]: sdl2 already patched, skipping
[INFO]: Prebuilding six for armeabi-v7a
[INFO]: six has no prebuild_armeabi_v7a, skipping
[INFO]: Prebuilding pyjnius for armeabi-v7a
[INFO]: pyjnius has no prebuild_armeabi_v7a, skipping
[INFO]: Applying patches for pyjnius[armeabi-v7a]
[INFO]: pyjnius already patched, skipping
[INFO]: Prebuilding kivy for armeabi-v7a
[INFO]: kivy has no prebuild_armeabi_v7a, skipping
[INFO]: # Building recipes
[INFO]: Building hostpython2 for armeabi-v7a
[INFO]: -> directory context /Users/me/Personal/grocery/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2
[INFO]: hostpython already exists, skipping build
[INFO]: <- directory context /Users/me/Personal/grocery/.buildozer/android/platform/python-for-android-master
[INFO]: Building python2 for armeabi-v7a
[INFO]: Copying hostpython binary to targetpython folder
[INFO]: -> running cp /Users/me/Personal/grocery/.buildozer/android/platform/build/build/other_builds/h...(and 168 more)
[INFO]: Building sdl2_image for armeabi-v7a
[INFO]: Building sdl2_mixer for armeabi-v7a
[INFO]: Building sdl2_ttf for armeabi-v7a
[INFO]: Building sdl2 for armeabi-v7a
[INFO]: -> directory context /Users/me/Personal/grocery/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python2/jni
[INFO]: -> running ndk-build V=1
('path is', '/Users/me/.buildozer/android/platform/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/darwin-x86/bin/:/Users/me/.buildozer/android/platform/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/darwin-x86_64/bin/:/Users/me/.buildozer/android/platform/android-ndk-r9c:/Users/me/.buildozer/android/platform/android-sdk-20/tools:/Users/me/.buildozer/android/platform/apache-ant-1.9.4/bin:/Users/me/anaconda/envs/grocery/bin:/Users/me/Downloads/google-cloud-sdk/bin:/Users/me/instantclient_11_2:/Users/me/anaconda/bin:/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/Application/sDocker.app/Contents/Resources/bin')
[INFO]: <- directory context /Users/me/Personal/grocery/.buildozer/android/platform/python-for-android-master
[INFO]: Building six for armeabi-v7a
[INFO]: Python package already exists in site-packages
[INFO]: six said it is already built, skipping
[INFO]: Building pyjnius for armeabi-v7a
[INFO]: Python package already exists in site-packages
[INFO]: pyjnius said it is already built, skipping
[INFO]: Building kivy for armeabi-v7a
[INFO]: Python package already exists in site-packages
[INFO]: kivy said it is already built, skipping
[INFO]: # Biglinking object files
[INFO]: Collating object files from each recipe
[INFO]: hostpython2 recipe has no biglinkable files dir, skipping
[INFO]: python2 recipe has no biglinkable files dir, skipping
[INFO]: sdl2_image recipe has no biglinkable files dir, skipping
[INFO]: sdl2_mixer recipe has no biglinkable files dir, skipping
[INFO]: sdl2_ttf recipe has no biglinkable files dir, skipping
[INFO]: sdl2 recipe has no biglinkable files dir, skipping
[INFO]: six recipe has no biglinkable files dir, skipping
[INFO]: pyjnius recipe has object files, copying
[INFO]: -> running cp -r /Users/me/Personal/grocery/.buildozer/android/platform/build/build/other_build...(and 348 more)
[INFO]: kivy recipe has object files, copying
[INFO]: -> running cp -r /Users/me/Personal/grocery/.buildozer/android/platform/build/build/other_buil...(and 9701 more)
[INFO]: Biglinking
[INFO]: target /Users/me/Personal/grocery/.buildozer/android/platform/build/build/libs_collections/easierGroceries/armeabi-v7a/libpymodules.so
[INFO]: # Postbuilding recipes
[INFO]: Postbuilding hostpython2 for armeabi-v7a
[INFO]: Postbuilding python2 for armeabi-v7a
[INFO]: Postbuilding sdl2_image for armeabi-v7a
[INFO]: Postbuilding sdl2_mixer for armeabi-v7a
[INFO]: Postbuilding sdl2_ttf for armeabi-v7a
[INFO]: Postbuilding sdl2 for armeabi-v7a
[INFO]: Postbuilding six for armeabi-v7a
[INFO]: Postbuilding pyjnius for armeabi-v7a
[INFO]: Copying pyjnius java class to classes build dir
[INFO]: -> directory context /Users/me/Personal/grocery/.buildozer/android/platform/build/build/other_builds/pyjnius-python2-sdl2/armeabi-v7a/pyjnius
[INFO]: -> running cp -a jnius/src/org /Users/me/Personal/grocery/.buildozer/android/platform/build/bui...(and 30 more)
[INFO]: <- directory context /Users/me/Personal/grocery/.buildozer/android/platform/python-for-android-master
[INFO]: Postbuilding kivy for armeabi-v7a
[INFO]: # Installing pure Python modules
[INFO]: The requirements (pint) don't have recipes, attempting to install them with pip
[INFO]: If this fails, it may mean that the module has compiled components and needs a recipe.
[INFO]: -> directory context /Users/me/Personal/grocery/.buildozer/android/platform/build/build
[INFO]: -> running virtualenv --python=python2.7 venv
('name is', None, <class 'pythonforandroid.recipes.six.SixRecipe'>)
('name is', 'jnius', <class 'pythonforandroid.recipes.pyjnius.PyjniusRecipe'>)
('name is', None, <class 'pythonforandroid.recipes.kivy.KivyRecipe'>)
('path is', '/Users/me/.buildozer/android/platform/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/darwin-x86/bin/:/Users/me/.buildozer/android/platform/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/darwin-x86_64/bin/:/Users/me/.buildozer/android/platform/android-ndk-r9c:/Users/me/.buildozer/android/platform/android-sdk-20/tools:/Users/me/.buildozer/android/platform/apache-ant-1.9.4/bin:/Users/me/anaconda/envs/grocery/bin:/Users/me/Downloads/google-cloud-sdk/bin:/Users/me/instantclient_11_2:/Users/me/anaconda/bin:/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/Application/sDocker.app/Contents/Resources/bin')
objs_paths are ['/Users/me/Personal/grocery/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python2/collated_objects']
Copying libraries
Traceback (most recent call last):
File "/Users/me/anaconda/envs/grocery/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/Users/me/anaconda/envs/grocery/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/Users/me/Personal/grocery/.buildozer/android/platform/python-for-android-master/pythonforandroid/toolchain.py", line 837, in <module>
main()
File "/Users/me/Personal/grocery/.buildozer/android/platform/python-for-android-master/pythonforandroid/toolchain.py", line 834, in main
ToolchainCL()
File "/Users/me/Personal/grocery/.buildozer/android/platform/python-for-android-master/pythonforandroid/toolchain.py", line 489, in __init__
getattr(self, args.subparser_name.replace('-', '_'))(args)
File "/Users/me/Personal/grocery/.buildozer/android/platform/python-for-android-master/pythonforandroid/toolchain.py", line 147, in wrapper_func
build_dist_from_args(ctx, dist, args)
File "/Users/me/Personal/grocery/.buildozer/android/platform/python-for-android-master/pythonforandroid/toolchain.py", line 190, in build_dist_from_args
build_recipes(build_order, python_modules, ctx)
File "pythonforandroid/build.py", line 582, in build_recipes
File "pythonforandroid/build.py", line 601, in run_pymodules_install
File "pythonforandroid/logger.py", line 173, in shprint
File "/Users/me/anaconda/envs/grocery/lib/python2.7/site-packages/sh.py", line 565, in next
self.wait()
File "/Users/me/anaconda/envs/grocery/lib/python2.7/site-packages/sh.py", line 500, in wait
self.handle_command_exit_code(exit_code)
File "/Users/me/anaconda/envs/grocery/lib/python2.7/site-packages/sh.py", line 516, in handle_command_exit_code
raise exc(self.ran, self.process.stdout, self.process.stderr)
sh.ErrorReturnCode_1:
RAN: '/Users/me/anaconda/bin/virtualenv --python=python2.7 venv'
STDOUT:
Running virtualenv with interpreter /Users/me/anaconda/envs/grocery/bin/python2.7
New python executable in /Users/me/Personal/grocery/.buildozer/android/platform/build/build/venv/bin/python2.7
Not overwriting existing python script /Users/me/Personal/grocery/.buildozer/android/platform/build/build/venv/bin/python (you must use /Users/me/Personal/grocery/.buildozer/android/platform/build/build/venv/bin/python2.7)
Installing setuptools, pip, wheel...
Complete output from command /Users/joshuabrownin...d/venv/bin/python2.7 - setuptools pip wheel:
Traceback (most recent call last):
File "<stdin>", line 7, in <module>
File "/Users/me/anaconda/lib/python2.7/site-packages/virtualenv-15.0.3-py2.7.egg/virtualenv_support/pip-8.1.2-py2.py3-none-any.whl/pip/__init__.py", line 16, in <module>
File "/Users/me/anaconda/lib/python2.7/site-packages/virtualenv-15.0.3-py2.7.egg/virtualenv_support/pip-8.1.2-py2.py3-none-any.whl/pip/vcs/subversion.py", line 9, in <module>
File "/Users/me/anaconda/lib/python2.7/site-packages/virtualenv-15.0.3-py2.7.egg/virtualenv_support/pip-8.1.2-py2.py3-none-any.whl/pip/index.py", line 30, in <module>
File "/Users/me/anaconda/lib/python2.7/site-packages/virtualenv-15.0.3-py2.7.egg/virtualenv_support/pip-8.1.2-py2.py3-none-any.whl/pip/wheel.py", line 39, in <module>
File "/Users/me/anaconda/lib/python2.7/site-packages/virtualenv-15.0.3-py2.7.egg/virtualenv_support/pip-8.1.2-py2.py3-none-any.whl/pip/_vendor/distlib/scripts.py", line 14, in <module>
File "/Users/me/anaconda/lib/python2.7/site-packages/virtualenv-15.0.3-py2.7.egg/virtualenv_support/pip-8.1.2-py2.py3-none-any.whl/pip/_vendor/distlib/compat.py", line 31, in <module>
ImportError: cannot import name HTTPSHandler
----------------------------------------
...Installing setuptools, pip, wheel...done.
Traceback (most recent call last):
File "/Users/me/anaconda/lib/python2.7/site-packages/virtualenv-15.0.3-py2.7.egg/virtualenv.py", line 2327, in <module>
main()
File "/Users/me/anaconda/lib/python2.7/site-packages/virtualenv-15.0.3-py2.7.egg/virtualenv.py", line 711, in main
symlink=options.symlink)
File "/Users/me/anaconda/lib/python2.7/site-packages/virtualenv-15.0.3-py2.7.egg/virtualenv.py", line 944, in create_environment
download=download,
File "/Users/me/anaconda/lib/python2.7/site-packages/virtualenv-15.0.3-py2.7.egg/virtualenv.py", line 900, in install_wheel
call_subprocess(cmd, show_stdout=False, extra_env=env, stdin=SCRIPT)
File "/Users/me/anaconda/lib/python2.7/site-packages/virtualenv-15.0.3-py2.7.egg/virtualenv.py", line 795, in call_subprocess
% (cmd_desc, proc.returncode))
OSError: Command /Users/joshuabrownin...d/venv/bin/python2.7 - setuptools pip wheel failed with error code 1
STDERR:
# Command failed: python -m pythonforandroid.toolchain create --dist_name=easierGroceries --bootstrap=sdl2 --requirements=kivy,hostpython2,pint --arch armeabi-v7a --copy-libs --local-recipes /Users/me/Personal/groecery/.buildozer/android/platform/python-for-android/recipes --color=always --storage-dir=/Users/me/Personal/grocery/.buildozer/android/platform/build
#
# Buildozer failed to execute the last command
# The error might be hidden in the log above this error
# Please read the full log, and search for it before
# raising an issue with buildozer itself.
# In case of a bug report, please add a full log with log_level = 2
The text was updated successfully, but these errors were encountered:
Seems like this may have been a bug with trying to build the app within a conda environment. Using the default python installation (on my Mac OSX) everything works fine.
I'm trying to create a kivy application, and I'd like to include the
pint
library so I addedpint
to mybuildozer.spec
file:However, when running
I get an error (see the log below). Everything works fine if I remove
pint
from the requirements, but I don't understand why this would cause errors sincepint
is a pure python module with no dependencies.The text was updated successfully, but these errors were encountered: