buildozer - applibs python3 installation fail

91 views
Skip to first unread message

Effe

unread,
Jun 15, 2019, 4:08:41 PM6/15/19
to Kivy users support
Hi
I try to build an ios app from kivy. I am on osX 10.13.6, and I use Buildozer.
Following the readme instruction, I try to build with buildozer ios debug xcode.
I have a problem which end the build process with this message :
# Install requirement python3 in virtualenv
# Run 'pip install --target=/Users/FredericTourneur/Documents/Python/kivy/PICOT_buildozer/.buildozer/applibs python3'
# Cwd /Users/FredericTourneur/Documents/Python/kivy/PICOT_buildozer/.buildozer
Collecting python3
  Could not find a version that satisfies the requirement python3 (from versions: )
No matching distribution found for python3

So I try with verbose option (buildozer --verbose ios debug xcode), which get the following :
buildozer --verbose ios debug xcode
# Check configuration tokens
# Ensure build layout
# Check configuration tokens
# Run 'security find-identity -v -p codesigning'
# Cwd None
  1) E3DB13C25CE15088EAB0873A7EAE4800C9919816 "iPhone Developer: XXXXXXXXXXX (5CVA9F67UA)"
  2) DFBC6C417ADDF356714CFDB6B225C06BA1C11F6B "Mac Developer: XXXXXXXXX (5CVA9F67UA)"
     2 valid identities found
# Preparing build
# Check requirements for ios
# Search for Xcode xcodebuild
#  -> found at /usr/bin/xcodebuild
# Search for Xcode xcode-select
#  -> found at /usr/bin/xcode-select
# Search for Git git
#  -> found at /usr/bin/git
# Search for Cython cython
#  -> found at /Library/Frameworks/Python.framework/Versions/3.7/bin/cython
# Search for pkg-config
#  -> found at /usr/local/Cellar/pkg-config/0.29.2/bin/pkg-config
# Search for autoconf
#  -> found at /usr/local/Cellar/autoconf/2.69/bin/autoconf
# Search for automake
#  -> found at /usr/local/Cellar/automake/1.16.1_1/bin/automake
# Search for libtool
#  -> found at /usr/bin/libtool
# Check availability of a iPhone SDK
# Run 'xcodebuild -showsdks | fgrep "iphoneos" |tail -n 1 | awk \'{print $2}\''
# Cwd None
10.1
#  -> found '10.1\n'
# Check Xcode path
# Run 'xcode-select -print-path'
# Cwd None
/Applications/Xcode.app/Contents/Developer
#  -> found /Applications/Xcode.app/Contents/Developer

# Install platform
# Check application requirements
# Run './toolchain.py recipes --compact'
# Cwd /Users/FredericTourneur/Documents/Python/kivy/PICOT_buildozer/.buildozer/ios/platform/kivy-ios
ERROR: Python requirements are missing
To install: pip install -r requirements.txt
# Remove directory and subdirectory /Users/FredericTourneur/Documents/Python/kivy/PICOT_buildozer/.buildozer/applibs
# Create directory /Users/FredericTourneur/Documents/Python/kivy/PICOT_buildozer/.buildozer/applibs
# Run 'bash -c "source venv/bin/activate && env"'
# Cwd /Users/FredericTourneur/Documents/Python/kivy/PICOT_buildozer/.buildozer
TERM_PROGRAM=Apple_Terminal
SHELL=/bin/bash
TERM=xterm-256color
TMPDIR=/var/folders/rp/cfx3l5sx0vs97p30h2jwctn80000gn/T/
Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.DjtLp4vrTR/Render
__PYVENV_LAUNCHER__=/Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7
TERM_PROGRAM_VERSION=404
TERM_SESSION_ID=59638E2F-38F5-4190-8372-BB23D3AF343F
USER=FredericTourneur
SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.RTX5LZE4ki/Listeners
__CF_USER_TEXT_ENCODING=0x1F5:0x0:0x1
VIRTUAL_ENV=/Users/FredericTourneur/Documents/Python/kivy/PICOT_buildozer/.buildozer/venv
PATH=/Users/FredericTourneur/Documents/Python/kivy/PICOT_buildozer/.buildozer/venv/bin:/Library/Frameworks/Python.framework/Versions/3.7/bin:/opt/local/bin:/opt/local/sbin:/Library/Frameworks/Python.framework/Versions/3.5/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/bin:/usr/local/bin
PWD=/Users/FredericTourneur/Documents/Python/kivy/PICOT_buildozer/.buildozer
LANG=fr_FR.UTF-8
XPC_FLAGS=0x0
PS1=(venv)
XPC_SERVICE_NAME=0
SHLVL=3
HOME=/Users/FredericTourneur
LOGNAME=FredericTourneur
DISPLAY=/private/tmp/com.apple.launchd.woTuH7u1K0/org.macosforge.xquartz:0
_=/usr/bin/env
# Install requirement python3 in virtualenv
# Run 'pip install --target=/Users/FredericTourneur/Documents/Python/kivy/PICOT_buildozer/.buildozer/applibs python3'
# Cwd /Users/FredericTourneur/Documents/Python/kivy/PICOT_buildozer/.buildozer
Collecting python3
  Could not find a version that satisfies the requirement python3 (from versions: )
No matching distribution found for python3
You are using pip version 19.0.3, however version 19.1.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
# Command failed: pip install --target=/Users/FredericTourneur/Documents/Python/kivy/PICOT_buildozer/.buildozer/applibs python3
# ENVIRONMENT:
#     VIRTUAL_ENV = '/Users/FredericTourneur/Documents/Python/kivy/PICOT_buildozer/.buildozer/venv'
#     PATH = '/Users/FredericTourneur/Documents/Python/kivy/PICOT_buildozer/.buildozer/venv/bin:/Library/Frameworks/Python.framework/Versions/3.7/bin:/opt/local/bin:/opt/local/sbin:/Library/Frameworks/Python.framework/Versions/3.5/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/bin:/usr/local/bin'
#     CC = '/bin/false'
#     CXX = '/bin/false'
#
# 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

What can I do ? I try to install a virtual environnement for python 3 in the folder (using python3 -m venv/Users/FredericTourneur/Documents/Python/kivy/PICOT_buildozer/.buildozer/venv) but this is not working.
Best regards,

Grant

unread,
Jun 19, 2019, 11:58:03 AM6/19/19
to Kivy users support
I am experiencing the same issue:

Collecting python3
  ERROR: Could not find a version that satisfies the requirement python3 (from versions: none)
ERROR: No matching distribution found for python3

Grant

unread,
Jun 19, 2019, 12:17:16 PM6/19/19
to Kivy users support
I see the following about support for IOS:

Programming Guide » Create a package for IOS

Note

Currently, packages for iOS can only be generated with Python 2.7. Python 3.4+ support is on the way.


I'm creating a package for OS X and may need to do the following:

If you want to package for python 3.x.x simply download the package named Kivy3.7z from the download section of kivy.org and extract it to Kivy.app in /Applications, then run:

buildozer osx debug
Reply all
Reply to author
Forward
0 new messages