Hi - I am very new to this and have been struggling with this for ages now and wondered if you could help?
I am trying to create an APK file on my Mac (10.15.3) - in particular the error message doesn't make much sense to me - ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: 'zip-safe'
venv) (base) juliesmith@Julies-Air kivytutorial % buildozer android deploy
# Check configuration tokens
# Ensure build layout
# Check configuration tokens
# Read available permissions from api-versions.xml
# Preparing build
# Check requirements for android
# Search for Git (git)
# -> found at /usr/bin/git
# Search for Cython (cython)
# -> found at /Users/juliesmith/opt/anaconda3/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
# Run 'git config --get remote.origin.url'
# Cwd /Users/juliesmith/PycharmProjects/kivytutorial/.buildozer/android/platform/python-for-android
# Run 'git branch -vv'
# Cwd /Users/juliesmith/PycharmProjects/kivytutorial/.buildozer/android/platform/python-for-android
* master 8cf66cc1 [origin/master] Merge pull request #2111 from kivy/release-2020.03.30
# Run '/Users/juliesmith/PycharmProjects/kivytutorial/venv/bin/python -m pip install -q \'appdirs\' \'colorama>=0.3.3\' \'jinja2\' \'six\' \'enum34; python_version<"3.4"\' \'sh>=1.10; sys_platform!="nt"\' \'pep517<0.7.0"\' \'pytoml\' \'virtualenv<20\''
# Cwd None
ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: 'zip-safe'
Consider using the `--user` option or check the permissions.
# Command failed: /Users/juliesmith/PycharmProjects/kivytutorial/venv/bin/python -m pip install -q 'appdirs' 'colorama>=0.3.3' 'jinja2' 'six' 'enum34; python_version<"3.4"' 'sh>=1.10; sys_platform!="nt"' 'pep517<0.7.0"' 'pytoml' 'virtualenv<20'
# ENVIRONMENT:
# __INTELLIJ_COMMAND_HISTFILE__ = ('/Users/juliesmith/Library/Application '
'Support/JetBrains/PyCharmCE2020.1/terminal/history/history-1')
# HOME = '/Users/juliesmith'
# __CF_USER_TEXT_ENCODING = '0x1F5:0:2'
# LOGIN_SHELL = '1'
# PATH = '/Users/juliesmith/.buildozer/android/platform/apache-ant-1.9.4/bin:/Users/juliesmith/PycharmProjects/kivytutorial/venv/bin:/Users/juliesmith/opt/anaconda3/bin:/Users/juliesmith/opt/anaconda3/condabin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/juliesmith/opt/anaconda3/bin:/Users/juliesmith/opt/anaconda3/condabin'
# LC_CTYPE = 'en_GB.UTF-8'
# USER = 'juliesmith'
# SSH_AUTH_SOCK = '/private/tmp/com.apple.launchd.WY9890sE4e/Listeners'
# TMPDIR = '/var/folders/5v/kr5z23213sv9fjlgp810mf300000gn/T/'
# SHELL = '/bin/zsh'
# LOGNAME = 'juliesmith'
# XPC_SERVICE_NAME = '0'
# ZDOTDIR = ''
# XPC_FLAGS = '0x0'
# TERM = 'xterm-256color'
# TERMINAL_EMULATOR = 'JetBrains-JediTerm'
# SHLVL = '1'
# PWD = '/Users/juliesmith/PycharmProjects/kivytutorial'
# OLDPWD = '/Users/juliesmith/PycharmProjects/kivytutorial'
# CONDA_EXE = '/Users/juliesmith/opt/anaconda3/bin/conda'
# _CE_M = ''
# _CE_CONDA = ''
# CONDA_PYTHON_EXE = '/Users/juliesmith/opt/anaconda3/bin/python'
# CONDA_SHLVL = '1'
# CONDA_PREFIX = '/Users/juliesmith/opt/anaconda3'
# CONDA_DEFAULT_ENV = 'base'
# CONDA_PROMPT_MODIFIER = '(base) '
# VIRTUAL_ENV = '/Users/juliesmith/PycharmProjects/kivytutorial/venv'
# PS1 = '(venv) (base) %n@%m %1~ %# '
# _ = '/Users/juliesmith/PycharmProjects/kivytutorial/venv/bin/buildozer'
# __PYVENV_LAUNCHER__ = '/Users/juliesmith/PycharmProjects/kivytutorial/venv/bin/python'
#
# 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