Closed damasterofdabola closed 1 year ago
I tried the alternative dev installation method using editable (git clone && pip3 install -e
) and it failed with the following:
Running setup.py develop for kivy-ios
ERROR: Command errored out with exit status 1:
command: /Applications/Xcode.app/Contents/Developer/usr/bin/python3 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/Users/s9800826/git/kivy-ios/setup.py'"'"'; __file__='"'"'/Users/s9800826/git/kivy-ios/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' develop --no-deps --user --prefix=
cwd: /Users/s9800826/git/kivy-ios/
Complete output (28 lines):
running develop
WARNING: The user site-packages directory is disabled.
error: can't create or remove files in install directory
The following error occurred while trying to add or remove files in the
installation directory:
[Errno 1] Operation not permitted: '/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/site-packages/test-easy-install-31561.write-test'
The installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:
/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/site-packages/
Perhaps your account does not have write access to this directory? If the
installation directory is a system-owned directory, you may need to sign in
as the administrator or "root" account. If you do not have administrative
access to this machine, you may wish to choose a different installation
directory, preferably one that is listed in your PYTHONPATH environment
variable.
For information on other options, you may wish to consult the
documentation at:
https://setuptools.readthedocs.io/en/latest/deprecated/easy_install.html
Please make the appropriate changes for your system and try again.
----------------------------------------
ERROR: Command errored out with exit status 1: /Applications/Xcode.app/Contents/Developer/usr/bin/python3 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/Users/s9800826/git/kivy-ios/setup.py'"'"'; __file__='"'"'/Users/s9800826/git/kivy-ios/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' develop --no-deps --user --prefix= Check the logs for full command output.
So maybe kivy-ios requiring write access means I need to be an admin? Can I install and use the toolchain build process w/o having sudoers access?
So maybe kivy-ios requiring write access means I need to be an admin?
Absolutely not. And using sudo
is highly discouraged.
Consider using a different Python installation, and not the one provided by XCode which looks to have permission issues on your side.
👋 We use the issue tracker exclusively for bug reports and feature requests. However, this issue appears to be a support request. Please use our support channels to get help with the project.
If you're having trouble installing or using kivy-ios, maybe you could be interested to installation and requirements.
Let us know if this comment was made in error, and we'll be happy to reopen the issue.
@pythonsus I am not admin so I can't change folder perms
Versions
Describe the bug
bash: toolchain: command not found
after running the appropriate commands outlined in the README. I do not have sudo access on this machine but that shouldn't affect the installation process.To Reproduce
Install Homebrew without sudo
Install kivy-ios & related deps
Errored behavior