Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'pip install watchdog' fails on OS X 10.10.5 #360

Closed
fx86 opened this issue Jun 6, 2016 · 3 comments
Closed

'pip install watchdog' fails on OS X 10.10.5 #360

fx86 opened this issue Jun 6, 2016 · 3 comments

Comments

@fx86
Copy link

fx86 commented Jun 6, 2016

pip install watchdog fails with the following error:

src/watchdog_fsevents.c:466:33: warning: unused parameter 'self' [-Wunused-parameter]
    watchdog_remove_watch(PyObject *self, PyObject *watch)
                                    ^
    src/watchdog_fsevents.c:491:25: warning: unused parameter 'self' [-Wunused-parameter]
    watchdog_stop(PyObject *self, PyObject *emitter_thread)
                            ^
    src/watchdog_fsevents.c:531:10: warning: missing field 'ml_meth' initializer [-Wmissing-field-initializers]
        {NULL},
             ^
    8 warnings and 2 errors generated.
    error: command '/usr/bin/clang' failed with exit status 1

    ----------------------------------------
Command "/Users/airborne/anaconda/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/7c/vvy24k6d483cwl0m6fbl0vdr0000gn/T/pip-build-BozAQp/watchdog/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/7c/vvy24k6d483cwl0m6fbl0vdr0000gn/T/pip-nx7ozu-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/7c/vvy24k6d483cwl0m6fbl0vdr0000gn/T/pip-build-BozAQp/watchdog/

Can anyone please help out with resolving this error ?
Complete error log is here http://pastebin.com/D2qq9tb1
Python version : Python 2.7.11 |Anaconda 2.4.1 (x86_64)

EDIT: Solutions suggested in a previous bug raised against OSX 10.9 did not seem to work - #224

@metaljoe
Copy link

I get 9 warnings on OS X 10.10.5, however clang doesn't fail so watchdog is installed. This is with system Python (2.7.11), and tested again with homebrew installed Python3 and PyPy. Apple LLVM 7.0.2 (clang-700.1.81)

@BoboTiG
Copy link
Collaborator

BoboTiG commented Oct 13, 2018

Fixed with #467.

@BoboTiG BoboTiG closed this as completed Oct 13, 2018
@rokcarl
Copy link

rokcarl commented Apr 6, 2019

I still get the error: command 'clang' failed with exit status 1, here's my entire output of running pip install watchdog. I'm on macOS 10.14.4. Doing CC=/usr/bin/gcc pip install watchdog as suggested here did not help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants