FranGoitia / basketball_reference

Basketball Reference Scraper
98 stars 45 forks source link

Version of Python in OSx? #2

Closed luzer closed 7 years ago

luzer commented 7 years ago

hi great package what version of Python is this for? i get the following error.

Traceback (most recent call last):
  File "match_generator.py", line 3, in <module>
    raise('Must be run in Python 3') 
TypeError: exceptions must be old-style classes or derived from BaseException, not str
luzer commented 7 years ago

in python3, i get the following error on pip install

  error: command 'clang' failed with exit status 69

    ----------------------------------------
Command "/usr/local/opt/python3/bin/python3.5 -u -c "import setuptools, tokenize;__file__='/private/var/folders/lb/_p8cd4jd7vx6d35tnd2fc6mm0000gn/T/pip-build-ruy_6pmj/python-levenshtein/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /var/folders/lb/_p8cd4jd7vx6d35tnd2fc6mm0000gn/T/pip-4gre_271-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/lb/_p8cd4jd7vx6d35tnd2fc6mm0000gn/T/pip-build-ruy_6pmj/python-levenshtein/
luzer commented 7 years ago

i fixed it here http://stackoverflow.com/questions/27907566/failed-with-exit-status-69