dutzi / tamper

Devtools extension, lets you locally edit files served from the web (based on mitmproxy).
http://dutzi.github.io/tamper
MIT License
394 stars 36 forks source link

OSX Yosemite Issue #17

Closed adityapunjani closed 9 years ago

adityapunjani commented 10 years ago

Facing this error while installing tamper

Command /usr/bin/python -c "import setuptools, tokenize;file='/private/tmp/pip_build_root/Pillow/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-hTK1g7-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /private/tmp/pip_build_root/Pillow

saalmaan commented 10 years ago

Upgrading your xcode. try this command in terminal xcode-select --install, hope it helps

jeremyckahn commented 10 years ago

I am having a similar issue. Here's my error output:

Command /usr/bin/python -c "import setuptools, tokenize;__file__='/private/var/folders/v1/fhnp92qj2698d62spcx1b94w0000gn/T/pip_build_jeremykhan/tamper/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/v1/fhnp92qj2698d62spcx1b94w0000gn/T/pip-P1Jww1-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /private/var/folders/v1/fhnp92qj2698d62spcx1b94w0000gn/T/pip_build_jeremykhan/tamper
Storing debug log for failure in /Users/jeremykhan/Library/Logs/pip.log

Contents of my pip.log: https://gist.github.com/jeremyckahn/516a73615525f6557e84

EDIT: I have tried updating XCode, it did not help.

saalmaan commented 10 years ago

@jeremyckahn I think you have permission issues, try sudo before pip install tamper command like sudo pip install tamper

jeremyckahn commented 10 years ago

That did it, thank you very much!

saalmaan commented 10 years ago

@jeremyckahn no problem. @adityapunjani try the same solution otherwise please post your pip.log

saalmaan commented 10 years ago

@dutzi please close this issue, it seems participants have resolved their issues