sshivaji / kivy-chess

Chess Application using Kivy.
43 stars 15 forks source link

I tried install.sh but the following errors happened... #7

Closed shyamalschandra closed 9 years ago

shyamalschandra commented 9 years ago

What to do?

Here is the trace:

New python executable in chesspython/bin/python Installing setuptools.................................... Complete output from command /Users/shyamal/kivy-...esspython/bin/python -c "#!python \"\"\"Bootstra...sys.argv[1:])

" --always-copy -U setuptools: Downloading http://pypi.python.org/packages/2.5/s/setuptools/setuptools-0.6c11-py2.5.egg Searching for setuptools Reading http://pypi.python.org/simple/setuptools/ Best match: setuptools 7.0 Downloading https://pypi.python.org/packages/source/s/setuptools/setuptools-7.0.zip#md5=5771b7ab257e70603e620b2313d1e971 Processing setuptools-7.0.zip Running setuptools-7.0/setup.py -q bdist_egg --dist-dir /var/folders/6x/tbthdbxd2k589m95lbbkryfh0000gp/T/easy_install-CPCSR9/setuptools-7.0/egg-dist-tmp-IqCpAt setup.py:18: Warning: 'with' will become a reserved keyword in Python 2.6 Traceback (most recent call last): File "", line 278, in File "", line 213, in main File "/Users/shyamal/kivy-chess/setuptools-0.6c11-py2.5.egg/setuptools/command/easy_install.py", line 1712, in main File "/Users/shyamal/kivy-chess/setuptools-0.6c11-py2.5.egg/setuptools/command/easy_install.py", line 1700, in with_ei_usage File "/Users/shyamal/kivy-chess/setuptools-0.6c11-py2.5.egg/setuptools/command/easy_install.py", line 1716, in File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/core.py", line 151, in setup dist.run_commands() File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/dist.py", line 974, in run_commands self.run_command(cmd) File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/dist.py", line 994, in run_command cmd_obj.run() File "/Users/shyamal/kivy-chess/setuptools-0.6c11-py2.5.egg/setuptools/command/easy_install.py", line 211, in run File "/Users/shyamal/kivy-chess/setuptools-0.6c11-py2.5.egg/setuptools/command/easy_install.py", line 446, in easy_install File "/Users/shyamal/kivy-chess/setuptools-0.6c11-py2.5.egg/setuptools/command/easy_install.py", line 476, in install_item File "/Users/shyamal/kivy-chess/setuptools-0.6c11-py2.5.egg/setuptools/command/easy_install.py", line 655, in install_eggs File "/Users/shyamal/kivy-chess/setuptools-0.6c11-py2.5.egg/setuptools/command/easy_install.py", line 930, in build_and_install File "/Users/shyamal/kivy-chess/setuptools-0.6c11-py2.5.egg/setuptools/command/easy_install.py", line 919, in run_setup File "/Users/shyamal/kivy-chess/setuptools-0.6c11-py2.5.egg/setuptools/sandbox.py", line 62, in run_setup File "/Users/shyamal/kivy-chess/setuptools-0.6c11-py2.5.egg/setuptools/sandbox.py", line 105, in run File "/Users/shyamal/kivy-chess/setuptools-0.6c11-py2.5.egg/setuptools/sandbox.py", line 64, in File "setup.py", line 18 with open(init_path) as init_file: ^

SyntaxError: invalid syntax

...Installing setuptools...done. Traceback (most recent call last): File "virtualenv.py", line 2577, in main() File "virtualenv.py", line 979, in main no_pip=options.no_pip) File "virtualenv.py", line 1091, in create_environment search_dirs=search_dirs, never_download=never_download) File "virtualenv.py", line 611, in install_setuptools search_dirs=search_dirs, never_download=never_download) File "virtualenv.py", line 583, in _install_req cwd=cwd) File "virtualenv.py", line 1057, in call_subprocess % (cmd_desc, proc.returncode)) OSError: Command /Users/shyamal/kivy-...esspython/bin/python -c "#!python \"\"\"Bootstra...sys.argv[1:])

" --always-copy -U setuptools failed with error code 1 ./install.sh: line 2: chesspython/bin/pip: No such file or directory ./install.sh: line 3: chesspython/bin/pip: No such file or directory ./install.sh: line 4: chesspython/bin/pip: No such file or directory ./install.sh: line 5: chesspython/bin/pip: No such file or directory ./install.sh: line 6: chesspython/bin/pip: No such file or directory ./install.sh: line 7: chesspython/bin/pip: No such file or directory ./install.sh: line 8: chesspython/bin/pip: No such file or directory ./install.sh: line 9: chesspython/bin/pip: No such file or directory Cloning into 'Stockfish'... remote: Counting objects: 19209, done. remote: Compressing objects: 100% (4643/4643), done. remote: Total 19209 (delta 14519), reused 19209 (delta 14519) Receiving objects: 100% (19209/19209), 26.03 MiB | 1.21 MiB/s, done. Resolving deltas: 100% (14519/14519), done. Checking connectivity... done. Branch pyfish set up to track remote branch pyfish from origin. Switched to a new branch 'pyfish' running install running build running build_ext building 'stockfish' extension creating build creating build/temp.macosx-10.3-fat-2.5 gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -fno-common -dynamic -DNDEBUG -g -O3 -I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -c benchmark.cpp -o build/temp.macosx-10.3-fat-2.5/benchmark.o -Wno-error=unused-command-line-argument-hard-error-in-future clang: error: unknown argument: '-mno-fused-madd' clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.4u.sdk' clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.4u.sdk' error: command 'gcc' failed with exit status 1