Guest User

pip install python-docx

a guest
Aug 12th, 2019
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.63 KB | None | 0 0
  1. DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
  2. WARNING: The directory '/Users/user/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
  3. WARNING: The directory '/Users/user/Library/Caches/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
  4. ERROR: Command errored out with exit status 1:
  5. command: /usr/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/tmp/pip-install-T_7KXe/python-docx/setup.py'"'"'; __file__='"'"'/private/tmp/pip-install-T_7KXe/python-docx/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/tmp/pip-wheel-3WmEua --python-tag cp27
  6. cwd: /private/tmp/pip-install-T_7KXe/python-docx/
  7. Complete output (107 lines):
  8. running bdist_wheel
  9. running build
  10. running build_py
  11. creating build
  12. creating build/lib
  13. creating build/lib/docx
  14. copying docx/package.py -> build/lib/docx
  15. copying docx/compat.py -> build/lib/docx
  16. copying docx/blkcntnr.py -> build/lib/docx
  17. copying docx/__init__.py -> build/lib/docx
  18. copying docx/section.py -> build/lib/docx
  19. copying docx/shared.py -> build/lib/docx
  20. copying docx/api.py -> build/lib/docx
  21. copying docx/document.py -> build/lib/docx
  22. copying docx/settings.py -> build/lib/docx
  23. copying docx/exceptions.py -> build/lib/docx
  24. copying docx/shape.py -> build/lib/docx
  25. copying docx/table.py -> build/lib/docx
  26. creating build/lib/docx/oxml
  27. copying docx/oxml/coreprops.py -> build/lib/docx/oxml
  28. copying docx/oxml/simpletypes.py -> build/lib/docx/oxml
  29. copying docx/oxml/__init__.py -> build/lib/docx/oxml
  30. copying docx/oxml/ns.py -> build/lib/docx/oxml
  31. copying docx/oxml/section.py -> build/lib/docx/oxml
  32. copying docx/oxml/shared.py -> build/lib/docx/oxml
  33. copying docx/oxml/numbering.py -> build/lib/docx/oxml
  34. copying docx/oxml/document.py -> build/lib/docx/oxml
  35. copying docx/oxml/styles.py -> build/lib/docx/oxml
  36. copying docx/oxml/settings.py -> build/lib/docx/oxml
  37. copying docx/oxml/exceptions.py -> build/lib/docx/oxml
  38. copying docx/oxml/shape.py -> build/lib/docx/oxml
  39. copying docx/oxml/table.py -> build/lib/docx/oxml
  40. copying docx/oxml/xmlchemy.py -> build/lib/docx/oxml
  41. creating build/lib/docx/opc
  42. copying docx/opc/package.py -> build/lib/docx/opc
  43. copying docx/opc/coreprops.py -> build/lib/docx/opc
  44. copying docx/opc/compat.py -> build/lib/docx/opc
  45. copying docx/opc/oxml.py -> build/lib/docx/opc
  46. copying docx/opc/constants.py -> build/lib/docx/opc
  47. copying docx/opc/__init__.py -> build/lib/docx/opc
  48. copying docx/opc/spec.py -> build/lib/docx/opc
  49. copying docx/opc/shared.py -> build/lib/docx/opc
  50. copying docx/opc/packuri.py -> build/lib/docx/opc
  51. copying docx/opc/phys_pkg.py -> build/lib/docx/opc
  52. copying docx/opc/exceptions.py -> build/lib/docx/opc
  53. copying docx/opc/pkgreader.py -> build/lib/docx/opc
  54. copying docx/opc/part.py -> build/lib/docx/opc
  55. copying docx/opc/rel.py -> build/lib/docx/opc
  56. copying docx/opc/pkgwriter.py -> build/lib/docx/opc
  57. creating build/lib/docx/dml
  58. copying docx/dml/color.py -> build/lib/docx/dml
  59. copying docx/dml/__init__.py -> build/lib/docx/dml
  60. creating build/lib/docx/enum
  61. copying docx/enum/style.py -> build/lib/docx/enum
  62. copying docx/enum/__init__.py -> build/lib/docx/enum
  63. copying docx/enum/section.py -> build/lib/docx/enum
  64. copying docx/enum/text.py -> build/lib/docx/enum
  65. copying docx/enum/shape.py -> build/lib/docx/enum
  66. copying docx/enum/table.py -> build/lib/docx/enum
  67. copying docx/enum/dml.py -> build/lib/docx/enum
  68. copying docx/enum/base.py -> build/lib/docx/enum
  69. creating build/lib/docx/image
  70. copying docx/image/tiff.py -> build/lib/docx/image
  71. copying docx/image/gif.py -> build/lib/docx/image
  72. copying docx/image/constants.py -> build/lib/docx/image
  73. copying docx/image/jpeg.py -> build/lib/docx/image
  74. copying docx/image/__init__.py -> build/lib/docx/image
  75. copying docx/image/png.py -> build/lib/docx/image
  76. copying docx/image/bmp.py -> build/lib/docx/image
  77. copying docx/image/exceptions.py -> build/lib/docx/image
  78. copying docx/image/helpers.py -> build/lib/docx/image
  79. copying docx/image/image.py -> build/lib/docx/image
  80. creating build/lib/docx/styles
  81. copying docx/styles/style.py -> build/lib/docx/styles
  82. copying docx/styles/latent.py -> build/lib/docx/styles
  83. copying docx/styles/__init__.py -> build/lib/docx/styles
  84. copying docx/styles/styles.py -> build/lib/docx/styles
  85. creating build/lib/docx/parts
  86. copying docx/parts/story.py -> build/lib/docx/parts
  87. copying docx/parts/__init__.py -> build/lib/docx/parts
  88. copying docx/parts/numbering.py -> build/lib/docx/parts
  89. copying docx/parts/hdrftr.py -> build/lib/docx/parts
  90. copying docx/parts/document.py -> build/lib/docx/parts
  91. copying docx/parts/styles.py -> build/lib/docx/parts
  92. copying docx/parts/settings.py -> build/lib/docx/parts
  93. copying docx/parts/image.py -> build/lib/docx/parts
  94. creating build/lib/docx/text
  95. copying docx/text/run.py -> build/lib/docx/text
  96. copying docx/text/__init__.py -> build/lib/docx/text
  97. copying docx/text/font.py -> build/lib/docx/text
  98. copying docx/text/tabstops.py -> build/lib/docx/text
  99. copying docx/text/parfmt.py -> build/lib/docx/text
  100. copying docx/text/paragraph.py -> build/lib/docx/text
  101. creating build/lib/docx/oxml/text
  102. copying docx/oxml/text/run.py -> build/lib/docx/oxml/text
  103. copying docx/oxml/text/__init__.py -> build/lib/docx/oxml/text
  104. copying docx/oxml/text/font.py -> build/lib/docx/oxml/text
  105. copying docx/oxml/text/parfmt.py -> build/lib/docx/oxml/text
  106. copying docx/oxml/text/paragraph.py -> build/lib/docx/oxml/text
  107. creating build/lib/docx/opc/parts
  108. copying docx/opc/parts/coreprops.py -> build/lib/docx/opc/parts
  109. copying docx/opc/parts/__init__.py -> build/lib/docx/opc/parts
  110. creating build/lib/docx/templates
  111. copying docx/templates/default-header.xml -> build/lib/docx/templates
  112. copying docx/templates/default-settings.xml -> build/lib/docx/templates
  113. copying docx/templates/default-footer.xml -> build/lib/docx/templates
  114. error: can't copy 'docx/templates/default-docx-template': doesn't exist or not a regular file
  115. ----------------------------------------
  116. ERROR: Failed building wheel for python-docx
  117. ERROR: Command errored out with exit status 1:
  118. command: /usr/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/tmp/pip-install-T_7KXe/python-docx/setup.py'"'"'; __file__='"'"'/private/tmp/pip-install-T_7KXe/python-docx/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/tmp/pip-record-AIkp8N/install-record.txt --single-version-externally-managed --compile
  119. cwd: /private/tmp/pip-install-T_7KXe/python-docx/
  120. Complete output (107 lines):
  121. running install
  122. running build
  123. running build_py
  124. creating build
  125. creating build/lib
  126. creating build/lib/docx
  127. copying docx/package.py -> build/lib/docx
  128. copying docx/compat.py -> build/lib/docx
  129. copying docx/blkcntnr.py -> build/lib/docx
  130. copying docx/__init__.py -> build/lib/docx
  131. copying docx/section.py -> build/lib/docx
  132. copying docx/shared.py -> build/lib/docx
  133. copying docx/api.py -> build/lib/docx
  134. copying docx/document.py -> build/lib/docx
  135. copying docx/settings.py -> build/lib/docx
  136. copying docx/exceptions.py -> build/lib/docx
  137. copying docx/shape.py -> build/lib/docx
  138. copying docx/table.py -> build/lib/docx
  139. creating build/lib/docx/oxml
  140. copying docx/oxml/coreprops.py -> build/lib/docx/oxml
  141. copying docx/oxml/simpletypes.py -> build/lib/docx/oxml
  142. copying docx/oxml/__init__.py -> build/lib/docx/oxml
  143. copying docx/oxml/ns.py -> build/lib/docx/oxml
  144. copying docx/oxml/section.py -> build/lib/docx/oxml
  145. copying docx/oxml/shared.py -> build/lib/docx/oxml
  146. copying docx/oxml/numbering.py -> build/lib/docx/oxml
  147. copying docx/oxml/document.py -> build/lib/docx/oxml
  148. copying docx/oxml/styles.py -> build/lib/docx/oxml
  149. copying docx/oxml/settings.py -> build/lib/docx/oxml
  150. copying docx/oxml/exceptions.py -> build/lib/docx/oxml
  151. copying docx/oxml/shape.py -> build/lib/docx/oxml
  152. copying docx/oxml/table.py -> build/lib/docx/oxml
  153. copying docx/oxml/xmlchemy.py -> build/lib/docx/oxml
  154. creating build/lib/docx/opc
  155. copying docx/opc/package.py -> build/lib/docx/opc
  156. copying docx/opc/coreprops.py -> build/lib/docx/opc
  157. copying docx/opc/compat.py -> build/lib/docx/opc
  158. copying docx/opc/oxml.py -> build/lib/docx/opc
  159. copying docx/opc/constants.py -> build/lib/docx/opc
  160. copying docx/opc/__init__.py -> build/lib/docx/opc
  161. copying docx/opc/spec.py -> build/lib/docx/opc
  162. copying docx/opc/shared.py -> build/lib/docx/opc
  163. copying docx/opc/packuri.py -> build/lib/docx/opc
  164. copying docx/opc/phys_pkg.py -> build/lib/docx/opc
  165. copying docx/opc/exceptions.py -> build/lib/docx/opc
  166. copying docx/opc/pkgreader.py -> build/lib/docx/opc
  167. copying docx/opc/part.py -> build/lib/docx/opc
  168. copying docx/opc/rel.py -> build/lib/docx/opc
  169. copying docx/opc/pkgwriter.py -> build/lib/docx/opc
  170. creating build/lib/docx/dml
  171. copying docx/dml/color.py -> build/lib/docx/dml
  172. copying docx/dml/__init__.py -> build/lib/docx/dml
  173. creating build/lib/docx/enum
  174. copying docx/enum/style.py -> build/lib/docx/enum
  175. copying docx/enum/__init__.py -> build/lib/docx/enum
  176. copying docx/enum/section.py -> build/lib/docx/enum
  177. copying docx/enum/text.py -> build/lib/docx/enum
  178. copying docx/enum/shape.py -> build/lib/docx/enum
  179. copying docx/enum/table.py -> build/lib/docx/enum
  180. copying docx/enum/dml.py -> build/lib/docx/enum
  181. copying docx/enum/base.py -> build/lib/docx/enum
  182. creating build/lib/docx/image
  183. copying docx/image/tiff.py -> build/lib/docx/image
  184. copying docx/image/gif.py -> build/lib/docx/image
  185. copying docx/image/constants.py -> build/lib/docx/image
  186. copying docx/image/jpeg.py -> build/lib/docx/image
  187. copying docx/image/__init__.py -> build/lib/docx/image
  188. copying docx/image/png.py -> build/lib/docx/image
  189. copying docx/image/bmp.py -> build/lib/docx/image
  190. copying docx/image/exceptions.py -> build/lib/docx/image
  191. copying docx/image/helpers.py -> build/lib/docx/image
  192. copying docx/image/image.py -> build/lib/docx/image
  193. creating build/lib/docx/styles
  194. copying docx/styles/style.py -> build/lib/docx/styles
  195. copying docx/styles/latent.py -> build/lib/docx/styles
  196. copying docx/styles/__init__.py -> build/lib/docx/styles
  197. copying docx/styles/styles.py -> build/lib/docx/styles
  198. creating build/lib/docx/parts
  199. copying docx/parts/story.py -> build/lib/docx/parts
  200. copying docx/parts/__init__.py -> build/lib/docx/parts
  201. copying docx/parts/numbering.py -> build/lib/docx/parts
  202. copying docx/parts/hdrftr.py -> build/lib/docx/parts
  203. copying docx/parts/document.py -> build/lib/docx/parts
  204. copying docx/parts/styles.py -> build/lib/docx/parts
  205. copying docx/parts/settings.py -> build/lib/docx/parts
  206. copying docx/parts/image.py -> build/lib/docx/parts
  207. creating build/lib/docx/text
  208. copying docx/text/run.py -> build/lib/docx/text
  209. copying docx/text/__init__.py -> build/lib/docx/text
  210. copying docx/text/font.py -> build/lib/docx/text
  211. copying docx/text/tabstops.py -> build/lib/docx/text
  212. copying docx/text/parfmt.py -> build/lib/docx/text
  213. copying docx/text/paragraph.py -> build/lib/docx/text
  214. creating build/lib/docx/oxml/text
  215. copying docx/oxml/text/run.py -> build/lib/docx/oxml/text
  216. copying docx/oxml/text/__init__.py -> build/lib/docx/oxml/text
  217. copying docx/oxml/text/font.py -> build/lib/docx/oxml/text
  218. copying docx/oxml/text/parfmt.py -> build/lib/docx/oxml/text
  219. copying docx/oxml/text/paragraph.py -> build/lib/docx/oxml/text
  220. creating build/lib/docx/opc/parts
  221. copying docx/opc/parts/coreprops.py -> build/lib/docx/opc/parts
  222. copying docx/opc/parts/__init__.py -> build/lib/docx/opc/parts
  223. creating build/lib/docx/templates
  224. copying docx/templates/default-header.xml -> build/lib/docx/templates
  225. copying docx/templates/default-settings.xml -> build/lib/docx/templates
  226. copying docx/templates/default-footer.xml -> build/lib/docx/templates
  227. error: can't copy 'docx/templates/default-docx-template': doesn't exist or not a regular file
  228. ----------------------------------------
  229. ERROR: Command errored out with exit status 1: /usr/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/tmp/pip-install-T_7KXe/python-docx/setup.py'"'"'; __file__='"'"'/private/tmp/pip-install-T_7KXe/python-docx/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/tmp/pip-record-AIkp8N/install-record.txt --single-version-externally-managed --compile Check the logs for full command output.
Advertisement
Add Comment
Please, Sign In to add comment