Skip to content

Instantly share code, notes, and snippets.

@Zen-CODE
Created October 10, 2019 15:19
Show Gist options
  • Save Zen-CODE/3c0cc439973b44d805aae4331516d4e7 to your computer and use it in GitHub Desktop.
Save Zen-CODE/3c0cc439973b44d805aae4331516d4e7 to your computer and use it in GitHub Desktop.
[INFO ] Running Shell: /Users/richard/Repos/kivy-ios/dist/hostpython3/bin/python ('setup.py', 'install', '--prefix', '/Users/richard/Repos/kivy-ios/dist/root/python3') {'_env': {'CC': '/var/folders/fb/x41km3811v36_hbq21l4kdnw0000gn/T/tmp7ymyw9sr', 'CXX': '/var/folders/fb/x41km3811v36_hbq21l4kdnw0000gn/T/tmpq2k0no5x', 'AR': '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar', 'LD': '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld', 'OTHER_CFLAGS': '-I/Users/richard/Repos/kivy-ios/dist/include/x86_64/ffi -I/Users/richard/Repos/kivy-ios/dist/include/x86_64/openssl -I/Users/richard/Repos/kivy-ios/dist/include/x86_64', 'OTHER_LDFLAGS': '-L/Users/richard/Repos/kivy-ios/dist/lib', 'CFLAGS': '-O3 -miphoneos-version-min=8.0 -I/Users/richard/Repos/kivy-ios/dist/include/x86_64/ffi -I/Users/richard/Repos/kivy-ios/dist/include/x86_64/openssl -I/Users/richard/Repos/kivy-ios/dist/include/x86_64', 'LDFLAGS': '-arch x86_64 --sysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.4.sdk -L/Users/richard/Repos/kivy-ios/dist/lib -lsqlite3 -miphoneos-version-min=8.0', 'PYTHONPATH': '/Users/richard/Repos/kivy-ios/dist/root/python3/lib/python3.7/site-packages'}, '_iter': True, '_out_bufsize': 1, '_err_to_out': True}
[DEBUG ] Traceback (most recent call last):
[DEBUG ] File "setup.py", line 11, in <module>
[DEBUG ] from distutils.core import find_packages
[DEBUG ] ImportError: cannot import name 'find_packages' from 'distutils.core' (/Users/richard/Repos/kivy-ios/dist/hostpython3/lib/python3.7/distutils/core.py)
Traceback (most recent call last):
File "toolchain.py", line 1568, in <module>
ToolchainCL()
File "toolchain.py", line 1281, in __init__
getattr(self, args.command)()
File "toolchain.py", line 1322, in build
build_recipes(args.recipe, ctx)
File "toolchain.py", line 1158, in build_recipes
recipe.execute()
File "/Users/richard/Repos/kivy-ios/toolchain.py", line 729, in execute
self.build_all()
File "/Users/richard/Repos/kivy-ios/toolchain.py", line 84, in _cache_execution
f(self, *args, **kwargs)
File "/Users/richard/Repos/kivy-ios/toolchain.py", line 862, in build_all
self.install()
File "/Users/richard/Repos/kivy-ios/recipes/markupsafe/__init__.py", line 24, in install
shprint(hostpython, "setup.py", "install", "--prefix", dest_dir, _env=build_env)
File "/Users/richard/Repos/kivy-ios/toolchain.py", line 67, in shprint
for line in cmd:
File "tools/external/sh.py", line 565, in next
self.wait()
File "tools/external/sh.py", line 500, in wait
self.handle_command_exit_code(exit_code)
File "tools/external/sh.py", line 516, in handle_command_exit_code
raise exc(self.ran, self.process.stdout, self.process.stderr)
sh.ErrorReturnCode_1:
RAN: '/Users/richard/Repos/kivy-ios/dist/hostpython3/bin/python setup.py install --prefix /Users/richard/Repos/kivy-ios/dist/root/python3'
STDOUT:
Traceback (most recent call last):
File "setup.py", line 11, in <module>
from distutils.core import find_packages
ImportError: cannot import name 'find_packages' from 'distutils.core' (/Users/richard/Repos/kivy-ios/dist/hostpython3/lib/python3.7/distutils/core.py)
STDERR:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment