Guest User

pip install watchdog fails

a guest
Jun 6th, 2016
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.43 KB | None | 0 0
  1. Dreadnaught:Projects airborne$ pip install watchdog
  2. Collecting watchdog
  3. Using cached watchdog-0.8.3.tar.gz
  4. Requirement already satisfied (use --upgrade to upgrade): PyYAML>=3.10 in /Users/airborne/anaconda/lib/python2.7/site-packages (from watchdog)
  5. Requirement already satisfied (use --upgrade to upgrade): argh>=0.24.1 in /Users/airborne/anaconda/lib/python2.7/site-packages (from watchdog)
  6. Requirement already satisfied (use --upgrade to upgrade): pathtools>=0.1.1 in /Users/airborne/anaconda/lib/python2.7/site-packages (from watchdog)
  7. Building wheels for collected packages: watchdog
  8. Running setup.py bdist_wheel for watchdog ... error
  9. Complete output from 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'))" bdist_wheel -d /var/folders/7c/vvy24k6d483cwl0m6fbl0vdr0000gn/T/tmp2qzkfgpip-wheel- --python-tag cp27:
  10. running bdist_wheel
  11. running build
  12. running build_py
  13. creating build
  14. creating build/lib.macosx-10.5-x86_64-2.7
  15. creating build/lib.macosx-10.5-x86_64-2.7/watchdog
  16. copying src/watchdog/__init__.py -> build/lib.macosx-10.5-x86_64-2.7/watchdog
  17. copying src/watchdog/events.py -> build/lib.macosx-10.5-x86_64-2.7/watchdog
  18. copying src/watchdog/version.py -> build/lib.macosx-10.5-x86_64-2.7/watchdog
  19. copying src/watchdog/watchmedo.py -> build/lib.macosx-10.5-x86_64-2.7/watchdog
  20. creating build/lib.macosx-10.5-x86_64-2.7/watchdog/observers
  21. copying src/watchdog/observers/__init__.py -> build/lib.macosx-10.5-x86_64-2.7/watchdog/observers
  22. copying src/watchdog/observers/api.py -> build/lib.macosx-10.5-x86_64-2.7/watchdog/observers
  23. copying src/watchdog/observers/fsevents.py -> build/lib.macosx-10.5-x86_64-2.7/watchdog/observers
  24. copying src/watchdog/observers/fsevents2.py -> build/lib.macosx-10.5-x86_64-2.7/watchdog/observers
  25. copying src/watchdog/observers/inotify.py -> build/lib.macosx-10.5-x86_64-2.7/watchdog/observers
  26. copying src/watchdog/observers/inotify_buffer.py -> build/lib.macosx-10.5-x86_64-2.7/watchdog/observers
  27. copying src/watchdog/observers/inotify_c.py -> build/lib.macosx-10.5-x86_64-2.7/watchdog/observers
  28. copying src/watchdog/observers/kqueue.py -> build/lib.macosx-10.5-x86_64-2.7/watchdog/observers
  29. copying src/watchdog/observers/polling.py -> build/lib.macosx-10.5-x86_64-2.7/watchdog/observers
  30. copying src/watchdog/observers/read_directory_changes.py -> build/lib.macosx-10.5-x86_64-2.7/watchdog/observers
  31. copying src/watchdog/observers/winapi.py -> build/lib.macosx-10.5-x86_64-2.7/watchdog/observers
  32. creating build/lib.macosx-10.5-x86_64-2.7/watchdog/tricks
  33. copying src/watchdog/tricks/__init__.py -> build/lib.macosx-10.5-x86_64-2.7/watchdog/tricks
  34. creating build/lib.macosx-10.5-x86_64-2.7/watchdog/utils
  35. copying src/watchdog/utils/__init__.py -> build/lib.macosx-10.5-x86_64-2.7/watchdog/utils
  36. copying src/watchdog/utils/bricks.py -> build/lib.macosx-10.5-x86_64-2.7/watchdog/utils
  37. copying src/watchdog/utils/compat.py -> build/lib.macosx-10.5-x86_64-2.7/watchdog/utils
  38. copying src/watchdog/utils/decorators.py -> build/lib.macosx-10.5-x86_64-2.7/watchdog/utils
  39. copying src/watchdog/utils/delayed_queue.py -> build/lib.macosx-10.5-x86_64-2.7/watchdog/utils
  40. copying src/watchdog/utils/dirsnapshot.py -> build/lib.macosx-10.5-x86_64-2.7/watchdog/utils
  41. copying src/watchdog/utils/echo.py -> build/lib.macosx-10.5-x86_64-2.7/watchdog/utils
  42. copying src/watchdog/utils/event_backport.py -> build/lib.macosx-10.5-x86_64-2.7/watchdog/utils
  43. copying src/watchdog/utils/importlib2.py -> build/lib.macosx-10.5-x86_64-2.7/watchdog/utils
  44. copying src/watchdog/utils/platform.py -> build/lib.macosx-10.5-x86_64-2.7/watchdog/utils
  45. copying src/watchdog/utils/unicode_paths.py -> build/lib.macosx-10.5-x86_64-2.7/watchdog/utils
  46. copying src/watchdog/utils/win32stat.py -> build/lib.macosx-10.5-x86_64-2.7/watchdog/utils
  47. running egg_info
  48. writing requirements to src/watchdog.egg-info/requires.txt
  49. writing src/watchdog.egg-info/PKG-INFO
  50. writing top-level names to src/watchdog.egg-info/top_level.txt
  51. writing dependency_links to src/watchdog.egg-info/dependency_links.txt
  52. writing entry points to src/watchdog.egg-info/entry_points.txt
  53. writing requirements to src/watchdog.egg-info/requires.txt
  54. writing src/watchdog.egg-info/PKG-INFO
  55. writing top-level names to src/watchdog.egg-info/top_level.txt
  56. writing dependency_links to src/watchdog.egg-info/dependency_links.txt
  57. writing entry points to src/watchdog.egg-info/entry_points.txt
  58. warning: manifest_maker: standard file '-c' not found
  59.  
  60. reading manifest file 'src/watchdog.egg-info/SOURCES.txt'
  61. reading manifest template 'MANIFEST.in'
  62. warning: no files found matching '*.h' under directory 'src'
  63. writing manifest file 'src/watchdog.egg-info/SOURCES.txt'
  64. running build_ext
  65. building '_watchdog_fsevents' extension
  66. creating build/temp.macosx-10.5-x86_64-2.7
  67. creating build/temp.macosx-10.5-x86_64-2.7/src
  68. /usr/bin/clang -fno-strict-aliasing -I/Users/airborne/anaconda/include -arch x86_64 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DWATCHDOG_VERSION_STRING="0.8.3" -DWATCHDOG_VERSION_MAJOR=0 -DWATCHDOG_VERSION_MINOR=8 -DWATCHDOG_VERSION_BUILD=3 -I/Users/airborne/anaconda/include/python2.7 -c src/watchdog_fsevents.c -o build/temp.macosx-10.5-x86_64-2.7/src/watchdog_fsevents.o -std=c99 -pedantic -Wall -Wextra -fPIC -Wno-error=unused-command-line-argument-hard-error-in-future
  69. warning: unknown warning option '-Wno-error=unused-command-line-argument-hard-error-in-future' [-Wunknown-warning-option]
  70. In file included from src/watchdog_fsevents.c:24:
  71. In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:55:
  72. /System/Library/Frameworks/CoreServices.framework/Frameworks/FSEvents.framework/Headers/FSEvents.h:262:38: error: expected '}'
  73. kFSEventStreamCreateFlagIgnoreSelf __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_6_0) = 0x00000008,
  74. ^
  75. <scratch space>:107:1: note: instantiated from:
  76. __AVAILABILITY_INTERNAL__MAC_10_6
  77. ^
  78. In file included from src/watchdog_fsevents.c:22:
  79. In file included from /Users/airborne/anaconda/include/python2.7/Python.h:33:
  80. In file included from /usr/include/stdio.h:65:
  81. In file included from /usr/include/Availability.h:153:
  82. /usr/include/AvailabilityInternal.h:5611:62: note: instantiated from:
  83. #define __AVAILABILITY_INTERNAL__MAC_10_6 __AVAILABILITY_INTERNAL_WEAK_IMPORT
  84. ^
  85. /usr/include/AvailabilityInternal.h:55:55: note: instantiated from:
  86. #define __AVAILABILITY_INTERNAL_WEAK_IMPORT __attribute__((weak_import))
  87. ^
  88. In file included from src/watchdog_fsevents.c:24:
  89. In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:55:
  90. /System/Library/Frameworks/CoreServices.framework/Frameworks/FSEvents.framework/Headers/FSEvents.h:203:6: note: to match this '{'
  91. enum {
  92. ^
  93. /System/Library/Frameworks/CoreServices.framework/Frameworks/FSEvents.framework/Headers/FSEvents.h:414:38: error: expected '}'
  94. kFSEventStreamEventFlagItemCreated __OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_6_0) = 0x00000100,
  95. ^
  96. <scratch space>:107:1: note: instantiated from:
  97. __AVAILABILITY_INTERNAL__MAC_10_7
  98. ^
  99. In file included from src/watchdog_fsevents.c:22:
  100. In file included from /Users/airborne/anaconda/include/python2.7/Python.h:33:
  101. In file included from /usr/include/stdio.h:65:
  102. In file included from /usr/include/Availability.h:153:
  103. /usr/include/AvailabilityInternal.h:5604:62: note: instantiated from:
  104. #define __AVAILABILITY_INTERNAL__MAC_10_7 __AVAILABILITY_INTERNAL_WEAK_IMPORT
  105. ^
  106. /usr/include/AvailabilityInternal.h:55:55: note: instantiated from:
  107. #define __AVAILABILITY_INTERNAL_WEAK_IMPORT __attribute__((weak_import))
  108. ^
  109. In file included from src/watchdog_fsevents.c:24:
  110. In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:55:
  111. /System/Library/Frameworks/CoreServices.framework/Frameworks/FSEvents.framework/Headers/FSEvents.h:309:6: note: to match this '{'
  112. enum {
  113. ^
  114. src/watchdog_fsevents.c:136:63: warning: unused parameter 'stream_ref' [-Wunused-parameter]
  115. watchdog_FSEventStreamCallback(ConstFSEventStreamRef stream_ref,
  116. ^
  117. src/watchdog_fsevents.c:141:63: warning: unused parameter 'event_ids' [-Wunused-parameter]
  118. const FSEventStreamEventId event_ids[])
  119. ^
  120. src/watchdog_fsevents.c:334:30: warning: unused parameter 'self' [-Wunused-parameter]
  121. watchdog_add_watch(PyObject *self, PyObject *args)
  122. ^
  123. src/watchdog_fsevents.c:417:32: warning: unused parameter 'self' [-Wunused-parameter]
  124. watchdog_read_events(PyObject *self, PyObject *args)
  125. ^
  126. src/watchdog_fsevents.c:466:33: warning: unused parameter 'self' [-Wunused-parameter]
  127. watchdog_remove_watch(PyObject *self, PyObject *watch)
  128. ^
  129. src/watchdog_fsevents.c:491:25: warning: unused parameter 'self' [-Wunused-parameter]
  130. watchdog_stop(PyObject *self, PyObject *emitter_thread)
  131. ^
  132. src/watchdog_fsevents.c:531:10: warning: missing field 'ml_meth' initializer [-Wmissing-field-initializers]
  133. {NULL},
  134. ^
  135. 8 warnings and 2 errors generated.
  136. error: command '/usr/bin/clang' failed with exit status 1
  137.  
  138. ----------------------------------------
  139. Failed building wheel for watchdog
  140. Running setup.py clean for watchdog
  141. Failed to build watchdog
  142. Installing collected packages: watchdog
  143. Running setup.py install for watchdog ... error
  144. Complete output from 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:
  145. running install
  146. running build
  147. running build_py
  148. creating build
  149. creating build/lib.macosx-10.5-x86_64-2.7
  150. creating build/lib.macosx-10.5-x86_64-2.7/watchdog
  151. copying src/watchdog/__init__.py -> build/lib.macosx-10.5-x86_64-2.7/watchdog
  152. copying src/watchdog/events.py -> build/lib.macosx-10.5-x86_64-2.7/watchdog
  153. copying src/watchdog/version.py -> build/lib.macosx-10.5-x86_64-2.7/watchdog
  154. copying src/watchdog/watchmedo.py -> build/lib.macosx-10.5-x86_64-2.7/watchdog
  155. creating build/lib.macosx-10.5-x86_64-2.7/watchdog/observers
  156. copying src/watchdog/observers/__init__.py -> build/lib.macosx-10.5-x86_64-2.7/watchdog/observers
  157. copying src/watchdog/observers/api.py -> build/lib.macosx-10.5-x86_64-2.7/watchdog/observers
  158. copying src/watchdog/observers/fsevents.py -> build/lib.macosx-10.5-x86_64-2.7/watchdog/observers
  159. copying src/watchdog/observers/fsevents2.py -> build/lib.macosx-10.5-x86_64-2.7/watchdog/observers
  160. copying src/watchdog/observers/inotify.py -> build/lib.macosx-10.5-x86_64-2.7/watchdog/observers
  161. copying src/watchdog/observers/inotify_buffer.py -> build/lib.macosx-10.5-x86_64-2.7/watchdog/observers
  162. copying src/watchdog/observers/inotify_c.py -> build/lib.macosx-10.5-x86_64-2.7/watchdog/observers
  163. copying src/watchdog/observers/kqueue.py -> build/lib.macosx-10.5-x86_64-2.7/watchdog/observers
  164. copying src/watchdog/observers/polling.py -> build/lib.macosx-10.5-x86_64-2.7/watchdog/observers
  165. copying src/watchdog/observers/read_directory_changes.py -> build/lib.macosx-10.5-x86_64-2.7/watchdog/observers
  166. copying src/watchdog/observers/winapi.py -> build/lib.macosx-10.5-x86_64-2.7/watchdog/observers
  167. creating build/lib.macosx-10.5-x86_64-2.7/watchdog/tricks
  168. copying src/watchdog/tricks/__init__.py -> build/lib.macosx-10.5-x86_64-2.7/watchdog/tricks
  169. creating build/lib.macosx-10.5-x86_64-2.7/watchdog/utils
  170. copying src/watchdog/utils/__init__.py -> build/lib.macosx-10.5-x86_64-2.7/watchdog/utils
  171. copying src/watchdog/utils/bricks.py -> build/lib.macosx-10.5-x86_64-2.7/watchdog/utils
  172. copying src/watchdog/utils/compat.py -> build/lib.macosx-10.5-x86_64-2.7/watchdog/utils
  173. copying src/watchdog/utils/decorators.py -> build/lib.macosx-10.5-x86_64-2.7/watchdog/utils
  174. copying src/watchdog/utils/delayed_queue.py -> build/lib.macosx-10.5-x86_64-2.7/watchdog/utils
  175. copying src/watchdog/utils/dirsnapshot.py -> build/lib.macosx-10.5-x86_64-2.7/watchdog/utils
  176. copying src/watchdog/utils/echo.py -> build/lib.macosx-10.5-x86_64-2.7/watchdog/utils
  177. copying src/watchdog/utils/event_backport.py -> build/lib.macosx-10.5-x86_64-2.7/watchdog/utils
  178. copying src/watchdog/utils/importlib2.py -> build/lib.macosx-10.5-x86_64-2.7/watchdog/utils
  179. copying src/watchdog/utils/platform.py -> build/lib.macosx-10.5-x86_64-2.7/watchdog/utils
  180. copying src/watchdog/utils/unicode_paths.py -> build/lib.macosx-10.5-x86_64-2.7/watchdog/utils
  181. copying src/watchdog/utils/win32stat.py -> build/lib.macosx-10.5-x86_64-2.7/watchdog/utils
  182. running egg_info
  183. writing requirements to src/watchdog.egg-info/requires.txt
  184. writing src/watchdog.egg-info/PKG-INFO
  185. writing top-level names to src/watchdog.egg-info/top_level.txt
  186. writing dependency_links to src/watchdog.egg-info/dependency_links.txt
  187. writing entry points to src/watchdog.egg-info/entry_points.txt
  188. writing requirements to src/watchdog.egg-info/requires.txt
  189. writing src/watchdog.egg-info/PKG-INFO
  190. writing top-level names to src/watchdog.egg-info/top_level.txt
  191. writing dependency_links to src/watchdog.egg-info/dependency_links.txt
  192. writing entry points to src/watchdog.egg-info/entry_points.txt
  193. warning: manifest_maker: standard file '-c' not found
  194.  
  195. reading manifest file 'src/watchdog.egg-info/SOURCES.txt'
  196. reading manifest template 'MANIFEST.in'
  197. warning: no files found matching '*.h' under directory 'src'
  198. writing manifest file 'src/watchdog.egg-info/SOURCES.txt'
  199. running build_ext
  200. building '_watchdog_fsevents' extension
  201. creating build/temp.macosx-10.5-x86_64-2.7
  202. creating build/temp.macosx-10.5-x86_64-2.7/src
  203. /usr/bin/clang -fno-strict-aliasing -I/Users/airborne/anaconda/include -arch x86_64 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DWATCHDOG_VERSION_STRING="0.8.3" -DWATCHDOG_VERSION_MAJOR=0 -DWATCHDOG_VERSION_MINOR=8 -DWATCHDOG_VERSION_BUILD=3 -I/Users/airborne/anaconda/include/python2.7 -c src/watchdog_fsevents.c -o build/temp.macosx-10.5-x86_64-2.7/src/watchdog_fsevents.o -std=c99 -pedantic -Wall -Wextra -fPIC -Wno-error=unused-command-line-argument-hard-error-in-future
  204. warning: unknown warning option '-Wno-error=unused-command-line-argument-hard-error-in-future' [-Wunknown-warning-option]
  205. In file included from src/watchdog_fsevents.c:24:
  206. In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:55:
  207. /System/Library/Frameworks/CoreServices.framework/Frameworks/FSEvents.framework/Headers/FSEvents.h:262:38: error: expected '}'
  208. kFSEventStreamCreateFlagIgnoreSelf __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_6_0) = 0x00000008,
  209. ^
  210. <scratch space>:107:1: note: instantiated from:
  211. __AVAILABILITY_INTERNAL__MAC_10_6
  212. ^
  213. In file included from src/watchdog_fsevents.c:22:
  214. In file included from /Users/airborne/anaconda/include/python2.7/Python.h:33:
  215. In file included from /usr/include/stdio.h:65:
  216. In file included from /usr/include/Availability.h:153:
  217. /usr/include/AvailabilityInternal.h:5611:62: note: instantiated from:
  218. #define __AVAILABILITY_INTERNAL__MAC_10_6 __AVAILABILITY_INTERNAL_WEAK_IMPORT
  219. ^
  220. /usr/include/AvailabilityInternal.h:55:55: note: instantiated from:
  221. #define __AVAILABILITY_INTERNAL_WEAK_IMPORT __attribute__((weak_import))
  222. ^
  223. In file included from src/watchdog_fsevents.c:24:
  224. In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:55:
  225. /System/Library/Frameworks/CoreServices.framework/Frameworks/FSEvents.framework/Headers/FSEvents.h:203:6: note: to match this '{'
  226. enum {
  227. ^
  228. /System/Library/Frameworks/CoreServices.framework/Frameworks/FSEvents.framework/Headers/FSEvents.h:414:38: error: expected '}'
  229. kFSEventStreamEventFlagItemCreated __OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_6_0) = 0x00000100,
  230. ^
  231. <scratch space>:107:1: note: instantiated from:
  232. __AVAILABILITY_INTERNAL__MAC_10_7
  233. ^
  234. In file included from src/watchdog_fsevents.c:22:
  235. In file included from /Users/airborne/anaconda/include/python2.7/Python.h:33:
  236. In file included from /usr/include/stdio.h:65:
  237. In file included from /usr/include/Availability.h:153:
  238. /usr/include/AvailabilityInternal.h:5604:62: note: instantiated from:
  239. #define __AVAILABILITY_INTERNAL__MAC_10_7 __AVAILABILITY_INTERNAL_WEAK_IMPORT
  240. ^
  241. /usr/include/AvailabilityInternal.h:55:55: note: instantiated from:
  242. #define __AVAILABILITY_INTERNAL_WEAK_IMPORT __attribute__((weak_import))
  243. ^
  244. In file included from src/watchdog_fsevents.c:24:
  245. In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:55:
  246. /System/Library/Frameworks/CoreServices.framework/Frameworks/FSEvents.framework/Headers/FSEvents.h:309:6: note: to match this '{'
  247. enum {
  248. ^
  249. src/watchdog_fsevents.c:136:63: warning: unused parameter 'stream_ref' [-Wunused-parameter]
  250. watchdog_FSEventStreamCallback(ConstFSEventStreamRef stream_ref,
  251. ^
  252. src/watchdog_fsevents.c:141:63: warning: unused parameter 'event_ids' [-Wunused-parameter]
  253. const FSEventStreamEventId event_ids[])
  254. ^
  255. src/watchdog_fsevents.c:334:30: warning: unused parameter 'self' [-Wunused-parameter]
  256. watchdog_add_watch(PyObject *self, PyObject *args)
  257. ^
  258. src/watchdog_fsevents.c:417:32: warning: unused parameter 'self' [-Wunused-parameter]
  259. watchdog_read_events(PyObject *self, PyObject *args)
  260. ^
  261. src/watchdog_fsevents.c:466:33: warning: unused parameter 'self' [-Wunused-parameter]
  262. watchdog_remove_watch(PyObject *self, PyObject *watch)
  263. ^
  264. src/watchdog_fsevents.c:491:25: warning: unused parameter 'self' [-Wunused-parameter]
  265. watchdog_stop(PyObject *self, PyObject *emitter_thread)
  266. ^
  267. src/watchdog_fsevents.c:531:10: warning: missing field 'ml_meth' initializer [-Wmissing-field-initializers]
  268. {NULL},
  269. ^
  270. 8 warnings and 2 errors generated.
  271. error: command '/usr/bin/clang' failed with exit status 1
  272.  
  273. ----------------------------------------
  274. 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/
  275. You are using pip version 8.1.1, however version 8.1.2 is available.
  276. You should consider upgrading via the 'pip install --upgrade pip' command.
Add Comment
Please, Sign In to add comment