hrenfroe / yahoo-groups-backup

A python script to backup the contents of private Yahoo! groups.
The Unlicense
3 stars 4 forks source link

Can't install requirements because of some pyyaml issue #2

Open ejheil opened 4 years ago

ejheil commented 4 years ago

This is on MacOS Mojave. It's all a bit too deep in the python for me.

Here's the whole shebang:

Gist: https://gist.github.com/ejheil/04def72ad3a6b6abb13ec6d04534b5ef

The bits which were called out as errors include:

Building wheel for pyyaml (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /Users/ed/code/yahoo-groups-backup/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/cc/krt30ncd75s8g7fzyn5kw3fh0000gp/T/pip-install-08w2dfti/pyyaml/setup.py'"'"'; __file__='"'"'/private/var/folders/cc/krt30ncd75s8g7fzyn5kw3fh0000gp/T/pip-install-08w2dfti/pyyaml/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/cc/krt30ncd75s8g7fzyn5kw3fh0000gp/T/pip-wheel-4ryora9b --python-tag cp37
       cwd: /private/var/folders/cc/krt30ncd75s8g7fzyn5kw3fh0000gp/T/pip-install-08w2dfti/pyyaml/

and

 error: command 'clang' failed with exit status 1
    ----------------------------------------
ERROR: Command errored out with exit status 1: /Users/ed/code/yahoo-groups-backup/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/cc/krt30ncd75s8g7fzyn5kw3fh0000gp/T/pip-install-08w2dfti/pyyaml/setup.py'"'"'; __file__='"'"'/private/var/folders/cc/krt30ncd75s8g7fzyn5kw3fh0000gp/T/pip-install-08w2dfti/pyyaml/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/cc/krt30ncd75s8g7fzyn5kw3fh0000gp/T/pip-record-mu4e0e61/install-record.txt --single-version-externally-managed --compile --install-headers /Users/ed/code/yahoo-groups-backup/bin/../include/site/python3.7/pyyaml Check the logs for full command output.
hrenfroe commented 4 years ago

I wish I could help, but that's a bit too deep for me too -- I hardly even know Python, I'm just here to share what I've hacked out so far ;) When I've seen things like that before, it's usually been the result of some missing dependency or library version quirk. Building wheel for pyyaml looks like a good first string to pull.

Keep us posted if you find anything!