Guest User

manim install error

a guest
Oct 26th, 2023
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.40 KB | None | 0 0
  1. pip3 install manim
  2. Collecting manim
  3. Using cached manim-0.14.0-py3-none-any.whl (509 kB)
  4. Collecting Pillow (from manim)
  5. Using cached Pillow-10.1.0-cp312-cp312-macosx_11_0_arm64.whl.metadata (9.5 kB)
  6. Collecting click>=7.1 (from manim)
  7. Using cached click-8.1.7-py3-none-any.whl.metadata (3.0 kB)
  8. Collecting click-default-group (from manim)
  9. Using cached click_default_group-1.2.4-py2.py3-none-any.whl.metadata (2.8 kB)
  10. Collecting cloup<0.8.0,>=0.7.0 (from manim)
  11. Using cached cloup-0.7.1-py2.py3-none-any.whl (23 kB)
  12. Collecting colour (from manim)
  13. Using cached colour-0.1.5-py2.py3-none-any.whl (23 kB)
  14. Requirement already satisfied: decorator<6.0.0,>=5.0.7 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from manim) (5.1.1)
  15. Collecting isosurfaces==0.1.0 (from manim)
  16. Using cached isosurfaces-0.1.0-py3-none-any.whl (10 kB)
  17. Collecting manimpango<0.5.0,>=0.4.0.post0 (from manim)
  18. Using cached ManimPango-0.4.4.tar.gz (4.1 MB)
  19. Installing build dependencies ... done
  20. Getting requirements to build wheel ... done
  21. Preparing metadata (pyproject.toml) ... done
  22. Collecting mapbox-earcut<0.13.0,>=0.12.10 (from manim)
  23. Using cached mapbox_earcut-0.12.11.tar.gz (11 kB)
  24. Installing build dependencies ... done
  25. Getting requirements to build wheel ... done
  26. Preparing metadata (pyproject.toml) ... done
  27. Collecting moderngl<6.0.0,>=5.6.3 (from manim)
  28. Using cached moderngl-5.8.2.tar.gz (190 kB)
  29. Installing build dependencies ... done
  30. Getting requirements to build wheel ... done
  31. Preparing metadata (pyproject.toml) ... done
  32. Collecting moderngl-window<3.0.0,>=2.3.0 (from manim)
  33. Using cached moderngl_window-2.4.5-py3-none-any.whl.metadata (8.8 kB)
  34. Collecting networkx<3.0,>=2.5 (from manim)
  35. Using cached networkx-2.8.8-py3-none-any.whl (2.0 MB)
  36. Requirement already satisfied: numpy<2.0,>=1.9 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from manim) (1.26.1)
  37. Collecting pycairo<2.0,>=1.19 (from manim)
  38. Using cached pycairo-1.25.1.tar.gz (347 kB)
  39. Installing build dependencies ... done
  40. Getting requirements to build wheel ... done
  41. Installing backend dependencies ... done
  42. Preparing metadata (pyproject.toml) ... done
  43. Collecting pydub (from manim)
  44. Using cached pydub-0.25.1-py2.py3-none-any.whl (32 kB)
  45. Requirement already satisfied: pygments in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from manim) (2.16.1)
  46. Requirement already satisfied: requests in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from manim) (2.31.0)
  47. Collecting rich>=6.0 (from manim)
  48. Using cached rich-13.6.0-py3-none-any.whl.metadata (18 kB)
  49. Requirement already satisfied: scipy in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from manim) (1.11.3)
  50. Collecting screeninfo<0.7.0,>=0.6.7 (from manim)
  51. Using cached screeninfo-0.6.7.tar.gz (7.3 kB)
  52. Installing build dependencies ... done
  53. Getting requirements to build wheel ... done
  54. Preparing metadata (pyproject.toml) ... done
  55. Requirement already satisfied: setuptools in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from manim) (68.2.2)
  56. Collecting skia-pathops<0.8.0,>=0.7.0 (from manim)
  57. Using cached skia-pathops-0.7.4.zip (61.3 MB)
  58. Installing build dependencies ... done
  59. Getting requirements to build wheel ... done
  60. Preparing metadata (pyproject.toml) ... error
  61. error: subprocess-exited-with-error
  62.  
  63. × Preparing metadata (pyproject.toml) did not run successfully.
  64. │ exit code: 1
  65. ╰─> [142 lines of output]
  66. <string>:29: SyntaxWarning: invalid escape sequence '\s'
  67. <string>:11: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
  68. WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml does not contain a tool.setuptools_scm section'
  69. /private/var/folders/c6/jhfbvlfj0371f_3yzyzktxr00000gn/T/pip-build-env-s5si8gy9/overlay/lib/python3.12/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg`
  70. !!
  71.  
  72. ********************************************************************************
  73. The license_file parameter is deprecated, use license_files instead.
  74.  
  75. By 2023-Oct-30, you need to update your project and remove deprecated calls
  76. or your builds will no longer be supported.
  77.  
  78. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
  79. ********************************************************************************
  80.  
  81. !!
  82. parsed = self.parsers.get(option_name, lambda x: x)(value)
  83. running dist_info
  84. creating /private/var/folders/c6/jhfbvlfj0371f_3yzyzktxr00000gn/T/pip-modern-metadata-y8umi5k4/skia_pathops.egg-info
  85. writing /private/var/folders/c6/jhfbvlfj0371f_3yzyzktxr00000gn/T/pip-modern-metadata-y8umi5k4/skia_pathops.egg-info/PKG-INFO
  86. writing dependency_links to /private/var/folders/c6/jhfbvlfj0371f_3yzyzktxr00000gn/T/pip-modern-metadata-y8umi5k4/skia_pathops.egg-info/dependency_links.txt
  87. writing requirements to /private/var/folders/c6/jhfbvlfj0371f_3yzyzktxr00000gn/T/pip-modern-metadata-y8umi5k4/skia_pathops.egg-info/requires.txt
  88. writing top-level names to /private/var/folders/c6/jhfbvlfj0371f_3yzyzktxr00000gn/T/pip-modern-metadata-y8umi5k4/skia_pathops.egg-info/top_level.txt
  89. writing manifest file '/private/var/folders/c6/jhfbvlfj0371f_3yzyzktxr00000gn/T/pip-modern-metadata-y8umi5k4/skia_pathops.egg-info/SOURCES.txt'
  90.  
  91. Error compiling Cython file:
  92. ------------------------------------------------------------
  93. ...
  94. DONE = kDone_Verb # unused; we raise StopIteration instead
  95.  
  96.  
  97. cdef uint8_t *POINTS_IN_VERB
  98.  
  99. cpdef dict VERB_METHODS
  100. ^
  101. ------------------------------------------------------------
  102.  
  103. src/python/pathops/_pathops.pxd:214:6: Variables cannot be declared with 'cpdef'. Use 'cdef' instead.
  104.  
  105. Error compiling Cython file:
  106. ------------------------------------------------------------
  107. ...
  108.  
  109. cdef uint8_t *POINTS_IN_VERB
  110.  
  111. cpdef dict VERB_METHODS
  112.  
  113. cpdef dict PEN_METHODS
  114. ^
  115. ------------------------------------------------------------
  116.  
  117. src/python/pathops/_pathops.pxd:216:6: Variables cannot be declared with 'cpdef'. Use 'cdef' instead.
  118. warning: src/python/pathops/_pathops.pyx:1242:8: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
  119. warning: src/python/pathops/_pathops.pyx:1255:12: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
  120. warning: src/python/pathops/_pathops.pyx:1261:16: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
  121.  
  122. Error compiling Cython file:
  123. ------------------------------------------------------------
  124. ...
  125. 3, # CUBIC
  126. 0, # CLOSE
  127. 0 # DONE
  128. ]
  129.  
  130. cpdef dict VERB_METHODS = {
  131. ^
  132. ------------------------------------------------------------
  133.  
  134. src/python/pathops/_pathops.pyx:691:6: Variables cannot be declared with 'cpdef'. Use 'cdef' instead.
  135.  
  136. Error compiling Cython file:
  137. ------------------------------------------------------------
  138. ...
  139. kConic_Verb: "conicTo",
  140. kCubic_Verb: "cubicTo",
  141. kClose_Verb: "close",
  142. }
  143.  
  144. cpdef dict PEN_METHODS = {
  145. ^
  146. ------------------------------------------------------------
  147.  
  148. src/python/pathops/_pathops.pyx:700:6: Variables cannot be declared with 'cpdef'. Use 'cdef' instead.
  149. Compiling src/python/pathops/_pathops.pyx because it changed.
  150. [1/1] Cythonizing src/python/pathops/_pathops.pyx
  151. Traceback (most recent call last):
  152. File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
  153. main()
  154. File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
  155. json_out['return_val'] = hook(**hook_input['kwargs'])
  156. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  157. File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 149, in prepare_metadata_for_build_wheel
  158. return hook(metadata_directory, config_settings)
  159. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  160. File "/private/var/folders/c6/jhfbvlfj0371f_3yzyzktxr00000gn/T/pip-build-env-s5si8gy9/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 396, in prepare_metadata_for_build_wheel
  161. self.run_setup()
  162. File "/private/var/folders/c6/jhfbvlfj0371f_3yzyzktxr00000gn/T/pip-build-env-s5si8gy9/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 507, in run_setup
  163. super(_BuildMetaLegacyBackend, self).run_setup(setup_script=setup_script)
  164. File "/private/var/folders/c6/jhfbvlfj0371f_3yzyzktxr00000gn/T/pip-build-env-s5si8gy9/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 341, in run_setup
  165. exec(code, locals())
  166. File "<string>", line 409, in <module>
  167. File "/private/var/folders/c6/jhfbvlfj0371f_3yzyzktxr00000gn/T/pip-build-env-s5si8gy9/overlay/lib/python3.12/site-packages/setuptools/__init__.py", line 103, in setup
  168. return distutils.core.setup(**attrs)
  169. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  170. File "/private/var/folders/c6/jhfbvlfj0371f_3yzyzktxr00000gn/T/pip-build-env-s5si8gy9/overlay/lib/python3.12/site-packages/setuptools/_distutils/core.py", line 185, in setup
  171. return run_commands(dist)
  172. ^^^^^^^^^^^^^^^^^^
  173. File "/private/var/folders/c6/jhfbvlfj0371f_3yzyzktxr00000gn/T/pip-build-env-s5si8gy9/overlay/lib/python3.12/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
  174. dist.run_commands()
  175. File "/private/var/folders/c6/jhfbvlfj0371f_3yzyzktxr00000gn/T/pip-build-env-s5si8gy9/overlay/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
  176. self.run_command(cmd)
  177. File "/private/var/folders/c6/jhfbvlfj0371f_3yzyzktxr00000gn/T/pip-build-env-s5si8gy9/overlay/lib/python3.12/site-packages/setuptools/dist.py", line 989, in run_command
  178. super().run_command(command)
  179. File "/private/var/folders/c6/jhfbvlfj0371f_3yzyzktxr00000gn/T/pip-build-env-s5si8gy9/overlay/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
  180. cmd_obj.run()
  181. File "/private/var/folders/c6/jhfbvlfj0371f_3yzyzktxr00000gn/T/pip-build-env-s5si8gy9/overlay/lib/python3.12/site-packages/setuptools/command/dist_info.py", line 107, in run
  182. self.egg_info.run()
  183. File "/private/var/folders/c6/jhfbvlfj0371f_3yzyzktxr00000gn/T/pip-build-env-s5si8gy9/overlay/lib/python3.12/site-packages/setuptools/command/egg_info.py", line 318, in run
  184. self.find_sources()
  185. File "/private/var/folders/c6/jhfbvlfj0371f_3yzyzktxr00000gn/T/pip-build-env-s5si8gy9/overlay/lib/python3.12/site-packages/setuptools/command/egg_info.py", line 326, in find_sources
  186. mm.run()
  187. File "/private/var/folders/c6/jhfbvlfj0371f_3yzyzktxr00000gn/T/pip-build-env-s5si8gy9/overlay/lib/python3.12/site-packages/setuptools/command/egg_info.py", line 548, in run
  188. self.add_defaults()
  189. File "/private/var/folders/c6/jhfbvlfj0371f_3yzyzktxr00000gn/T/pip-build-env-s5si8gy9/overlay/lib/python3.12/site-packages/setuptools/command/egg_info.py", line 586, in add_defaults
  190. sdist.add_defaults(self)
  191. File "/private/var/folders/c6/jhfbvlfj0371f_3yzyzktxr00000gn/T/pip-build-env-s5si8gy9/overlay/lib/python3.12/site-packages/setuptools/command/sdist.py", line 113, in add_defaults
  192. super().add_defaults()
  193. File "/private/var/folders/c6/jhfbvlfj0371f_3yzyzktxr00000gn/T/pip-build-env-s5si8gy9/overlay/lib/python3.12/site-packages/setuptools/_distutils/command/sdist.py", line 251, in add_defaults
  194. self._add_defaults_ext()
  195. File "/private/var/folders/c6/jhfbvlfj0371f_3yzyzktxr00000gn/T/pip-build-env-s5si8gy9/overlay/lib/python3.12/site-packages/setuptools/_distutils/command/sdist.py", line 335, in _add_defaults_ext
  196. build_ext = self.get_finalized_command('build_ext')
  197. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  198. File "/private/var/folders/c6/jhfbvlfj0371f_3yzyzktxr00000gn/T/pip-build-env-s5si8gy9/overlay/lib/python3.12/site-packages/setuptools/_distutils/cmd.py", line 305, in get_finalized_command
  199. cmd_obj.ensure_finalized()
  200. File "/private/var/folders/c6/jhfbvlfj0371f_3yzyzktxr00000gn/T/pip-build-env-s5si8gy9/overlay/lib/python3.12/site-packages/setuptools/_distutils/cmd.py", line 111, in ensure_finalized
  201. self.finalize_options()
  202. File "<string>", line 96, in finalize_options
  203. File "/private/var/folders/c6/jhfbvlfj0371f_3yzyzktxr00000gn/T/pip-build-env-s5si8gy9/overlay/lib/python3.12/site-packages/Cython/Build/Dependencies.py", line 1154, in cythonize
  204. cythonize_one(*args)
  205. File "/private/var/folders/c6/jhfbvlfj0371f_3yzyzktxr00000gn/T/pip-build-env-s5si8gy9/overlay/lib/python3.12/site-packages/Cython/Build/Dependencies.py", line 1321, in cythonize_one
  206. raise CompileError(None, pyx_file)
  207. Cython.Compiler.Errors.CompileError: src/python/pathops/_pathops.pyx
  208. [end of output]
  209.  
  210. note: This error originates from a subprocess, and is likely not a problem with pip.
  211. error: metadata-generation-failed
  212.  
  213. × Encountered error while generating package metadata.
  214. ╰─> See above for output.
  215.  
  216. note: This is an issue with the package mentioned above, not pip.
  217. hint: See above for details.
Advertisement
Add Comment
Please, Sign In to add comment