{"action":"opened","issue":{"url":"https://api.github.com/repos/kivy/buildozer/issues/344","repository_url":"https://api.github.com/repos/kivy/buildozer","labels_url":"https://api.github.com/repos/kivy/buildozer/issues/344/labels{/name}","comments_url":"https://api.github.com/repos/kivy/buildozer/issues/344/comments","events_url":"https://api.github.com/repos/kivy/buildozer/issues/344/events","html_url":"https://github.com/kivy/buildozer/issues/344","id":154356027,"number":344,"title":"Requirement example Requirements = kivy,requests fails","user":{"login":"tanayz","id":2476251,"avatar_url":"https://avatars.githubusercontent.com/u/2476251?v=3","gravatar_id":"","url":"https://api.github.com/users/tanayz","html_url":"https://github.com/tanayz","followers_url":"https://api.github.com/users/tanayz/followers","following_url":"https://api.github.com/users/tanayz/following{/other_user}","gists_url":"https://api.github.com/users/tanayz/gists{/gist_id}","starred_url":"https://api.github.com/users/tanayz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tanayz/subscriptions","organizations_url":"https://api.github.com/users/tanayz/orgs","repos_url":"https://api.github.com/users/tanayz/repos","events_url":"https://api.github.com/users/tanayz/events{/privacy}","received_events_url":"https://api.github.com/users/tanayz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-11T22:19:53Z","updated_at":"2016-05-11T22:19:53Z","closed_at":null,"body":"I have created a simple python file and for that after creating buildozer.spec with buildozer.init when I added requests at to make\r\nRequirements = kivy,requests\r\nthe apk creation fails with both command buildozer -v android debug and builozer android_new debug\r\nI'm using the latest version 0.33 of buildozer and surprisingly when I try Requiremets=kivy,numpy and try buildozer -v android debug that succeeds but buildozer android_new debug fails in that case as well with same error like what I see for Requirements = kivy,requests\r\n\r\nHere is the full log\r\ntanay@ubuntu:~/Documents/deptest$ buildozer -v android debug\r\n# Check configuration tokens\r\n# Ensure build layout\r\n# Check configuration tokens\r\n# Preparing build\r\n# Check requirements for android\r\n# Run 'dpkg --version'\r\n# Cwd None\r\nDebian `dpkg' package management program version 1.17.5 (amd64).\r\nThis is free software; see the GNU General Public License version 2 or\r\nlater for copying conditions. There is NO warranty.\r\n# Search for Git (git)\r\n#  -> found at /usr/bin/git\r\n# Search for Cython (cython)\r\n#  -> found at /home/tanay/anaconda2/bin/cython\r\n# Search for Java compiler (javac)\r\n#  -> found at /usr/lib/jvm/java-7-openjdk-amd64/bin/javac\r\n# Search for Java keytool (keytool)\r\n#  -> found at /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/keytool\r\n# Install platform\r\n# Apache ANT found at /home/tanay/.buildozer/android/platform/apache-ant-1.9.4\r\n# Android SDK found at /home/tanay/.buildozer/android/platform/android-sdk-20\r\n# Android NDK found at /home/tanay/.buildozer/android/platform/android-ndk-r9c\r\n# Check application requirements\r\n# Run './distribute.sh -l'\r\n# Cwd /home/tanay/Documents/deptest/.buildozer/android/platform/python-for-android\r\nAvailable modules: android apsw audiostream bidi boost cherrypy c_igraph click cprotobuf cymunk django docutils ecdsa enum34 evdev ffmpeg ffmpeg2 ffpyplayer ffpyplayer_tito flask freetype gevent greenlet harfbuzz hostpython igraph itsdangerous jinja2 jpeg kivent_core kivent_cymunk kivy leveldb libevent libpq libsodium libswift libtorrent libxml2 libxslt libyaml lxml m2crypto markupsafe midistream msgpack mysql_connector netifaces numpy opencv openssl paramiko pil plyer plyvel png polygon protobuf psutil psycopg2 pyasn1 pycrypto pygame pyjnius pylibpd pyopenssl pyparsing pyqrcode python pyyaml sdl setuptools six sqlalchemy sqlite3 storm swift thrift twisted txws werkzeug wokkel zeroconf zope\r\n# Remove directory and subdirectory /home/tanay/Documents/deptest/.buildozer/applibs\r\n# Create directory /home/tanay/Documents/deptest/.buildozer/applibs\r\n# Run 'bash -c \"source venv/bin/activate && env\"'\r\n# Cwd /home/tanay/Documents/deptest/.buildozer\r\nbash: venv/bin/activate: No such file or directory\r\n# Command failed: bash -c \"source venv/bin/activate && env\"\r\n# \r\n# Buildozer failed to execute the last command\r\n# The error might be hidden in the log above this error\r\n# Please read the full log, and search for it before\r\n# raising an issue with buildozer itself.\r\n# In case of a bug report, please add a full log with log_level = 2\r\ntanay@ubuntu:~/Documents/deptest$ buildozer android_new debug\r\n# Check configuration tokens\r\n# Ensure build layout\r\n# Check configuration tokens\r\n# Preparing build\r\n# Check requirements for android\r\n# Run 'dpkg --version'\r\n# Cwd None\r\nDebian `dpkg' package management program version 1.17.5 (amd64).\r\nThis is free software; see the GNU General Public License version 2 or\r\nlater for copying conditions. There is NO warranty.\r\n# Search for Git (git)\r\n#  -> found at /usr/bin/git\r\n# Search for Cython (cython)\r\n#  -> found at /home/tanay/anaconda2/bin/cython\r\n# Search for Java compiler (javac)\r\n#  -> found at /usr/lib/jvm/java-7-openjdk-amd64/bin/javac\r\n# Search for Java keytool (keytool)\r\n#  -> found at /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/keytool\r\n# Install platform\r\n# Apache ANT found at /home/tanay/.buildozer/android/platform/apache-ant-1.9.4\r\n# Android SDK found at /home/tanay/.buildozer/android/platform/android-sdk-20\r\n# Android NDK found at /home/tanay/.buildozer/android/platform/android-ndk-r9c\r\n# Check application requirements\r\n# Check garden requirements\r\n# Compile platform\r\n# Run 'python -m pythonforandroid.toolchain --color=always --storage-dir=/home/tanay/Documents/deptest/.buildozer/android/platform/build create --dist_name=fstest --bootstrap=sdl2 --requirements=kivy,requests --arch armeabi-v7a --copy-libs'\r\n# Cwd /home/tanay/Documents/deptest/.buildozer/android/platform/python-for-android-master\r\nTraceback (most recent call last):\r\n  File \"/home/tanay/anaconda2/lib/python2.7/runpy.py\", line 162, in _run_module_as_main\r\n    \"__main__\", fname, loader, pkg_name)\r\n  File \"/home/tanay/anaconda2/lib/python2.7/runpy.py\", line 72, in _run_code\r\n    exec code in run_globals\r\n  File \"/home/tanay/Documents/deptest/.buildozer/android/platform/python-for-android-master/pythonforandroid/toolchain.py\", line 24, in <module>\r\n    import sh\r\nImportError: No module named sh\r\n# Command failed: python -m pythonforandroid.toolchain --color=always --storage-dir=/home/tanay/Documents/deptest/.buildozer/android/platform/build create --dist_name=fstest --bootstrap=sdl2 --requirements=kivy,requests --arch armeabi-v7a --copy-libs\r\n# \r\n# Buildozer failed to execute the last command\r\n# The error might be hidden in the log above this error\r\n# Please read the full log, and search for it before\r\n# raising an issue with buildozer itself.\r\n# In case of a bug report, please add a full log with log_level = 2\r\n"}}