You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Terminal Traceback & Material to Help Reproduce Bugs | 终端traceback(如有) + 帮助我们复现的测试材料样本(如有)
install skia-pathops failed with python 3.12.4 on macOS15
❯ pip install skia-pathops==0.7.4
Collecting skia-pathops==0.7.4
Using cached skia-pathops-0.7.4.zip (61.3 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [134 lines of output]
<string>:29: SyntaxWarning: invalid escape sequence '\s'
<string>:7: DeprecationWarning: dep_util is Deprecated. Use functions from setuptools instead.
<string>:11: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml does not contain a tool.setuptools_scm section'
Traceback (most recent call last):
File "/private/var/folders/b4/x6rbx7v55nvfc8nlfmvssbrw0000gn/T/pip-build-env-wsss2pb_/overlay/lib/python3.12/site-packages/setuptools_scm/_integration/pyproject_reading.py", line 36, in read_pyproject
section = defn.get("tool", {})[tool_name]
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
KeyError: 'setuptools_scm'
running dist_info
creating /private/var/folders/b4/x6rbx7v55nvfc8nlfmvssbrw0000gn/T/pip-modern-metadata-ujb1sufc/skia_pathops.egg-info
writing /private/var/folders/b4/x6rbx7v55nvfc8nlfmvssbrw0000gn/T/pip-modern-metadata-ujb1sufc/skia_pathops.egg-info/PKG-INFO
writing dependency_links to /private/var/folders/b4/x6rbx7v55nvfc8nlfmvssbrw0000gn/T/pip-modern-metadata-ujb1sufc/skia_pathops.egg-info/dependency_links.txt
writing requirements to /private/var/folders/b4/x6rbx7v55nvfc8nlfmvssbrw0000gn/T/pip-modern-metadata-ujb1sufc/skia_pathops.egg-info/requires.txt
writing top-level names to /private/var/folders/b4/x6rbx7v55nvfc8nlfmvssbrw0000gn/T/pip-modern-metadata-ujb1sufc/skia_pathops.egg-info/top_level.txt
writing manifest file '/private/var/folders/b4/x6rbx7v55nvfc8nlfmvssbrw0000gn/T/pip-modern-metadata-ujb1sufc/skia_pathops.egg-info/SOURCES.txt'
Error compiling Cython file:
------------------------------------------------------------
...
DONE = kDone_Verb # unused; we raise StopIteration instead
cdef uint8_t *POINTS_IN_VERB
cpdef dict VERB_METHODS
^
------------------------------------------------------------
src/python/pathops/_pathops.pxd:214:6: Variables cannot be declared with 'cpdef'. Use 'cdef' instead.
Error compiling Cython file:
------------------------------------------------------------
...
cdef uint8_t *POINTS_IN_VERB
cpdef dict VERB_METHODS
cpdef dict PEN_METHODS
^
------------------------------------------------------------
src/python/pathops/_pathops.pxd:216:6: Variables cannot be declared with 'cpdef'. Use 'cdef' instead.
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
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
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
Error compiling Cython file:
------------------------------------------------------------
...
3, # CUBIC
0, # CLOSE
0 # DONE
]
cpdef dict VERB_METHODS = {
^
------------------------------------------------------------
src/python/pathops/_pathops.pyx:691:6: Variables cannot be declared with 'cpdef'. Use 'cdef' instead.
Error compiling Cython file:
------------------------------------------------------------
...
kConic_Verb: "conicTo",
kCubic_Verb: "cubicTo",
kClose_Verb: "close",
}
cpdef dict PEN_METHODS = {
^
------------------------------------------------------------
src/python/pathops/_pathops.pyx:700:6: Variables cannot be declared with 'cpdef'. Use 'cdef' instead.
Compiling src/python/pathops/_pathops.pyx because it changed.
[1/1] Cythonizing src/python/pathops/_pathops.pyx
Traceback (most recent call last):
File "/Users/groovewjh/Git/GPT/gpt_academic/venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
main()
File "/Users/groovewjh/Git/GPT/gpt_academic/venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/groovewjh/Git/GPT/gpt_academic/venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 149, in prepare_metadata_for_build_wheel
return hook(metadata_directory, config_settings)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/private/var/folders/b4/x6rbx7v55nvfc8nlfmvssbrw0000gn/T/pip-build-env-wsss2pb_/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 373, in prepare_metadata_for_build_wheel
self.run_setup()
File "/private/var/folders/b4/x6rbx7v55nvfc8nlfmvssbrw0000gn/T/pip-build-env-wsss2pb_/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 503, in run_setup
super().run_setup(setup_script=setup_script)
File "/private/var/folders/b4/x6rbx7v55nvfc8nlfmvssbrw0000gn/T/pip-build-env-wsss2pb_/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 318, in run_setup
exec(code, locals())
File "<string>", line 409, in <module>
File "/private/var/folders/b4/x6rbx7v55nvfc8nlfmvssbrw0000gn/T/pip-build-env-wsss2pb_/overlay/lib/python3.12/site-packages/setuptools/__init__.py", line 117, in setup
return distutils.core.setup(**attrs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/private/var/folders/b4/x6rbx7v55nvfc8nlfmvssbrw0000gn/T/pip-build-env-wsss2pb_/overlay/lib/python3.12/site-packages/setuptools/_distutils/core.py", line 183, in setup
return run_commands(dist)
^^^^^^^^^^^^^^^^^^
File "/private/var/folders/b4/x6rbx7v55nvfc8nlfmvssbrw0000gn/T/pip-build-env-wsss2pb_/overlay/lib/python3.12/site-packages/setuptools/_distutils/core.py", line 199, in run_commands
dist.run_commands()
File "/private/var/folders/b4/x6rbx7v55nvfc8nlfmvssbrw0000gn/T/pip-build-env-wsss2pb_/overlay/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 954, in run_commands
self.run_command(cmd)
File "/private/var/folders/b4/x6rbx7v55nvfc8nlfmvssbrw0000gn/T/pip-build-env-wsss2pb_/overlay/lib/python3.12/site-packages/setuptools/dist.py", line 950, in run_command
super().run_command(command)
File "/private/var/folders/b4/x6rbx7v55nvfc8nlfmvssbrw0000gn/T/pip-build-env-wsss2pb_/overlay/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 973, in run_command
cmd_obj.run()
File "/private/var/folders/b4/x6rbx7v55nvfc8nlfmvssbrw0000gn/T/pip-build-env-wsss2pb_/overlay/lib/python3.12/site-packages/setuptools/command/dist_info.py", line 93, in run
self.egg_info.run()
File "/private/var/folders/b4/x6rbx7v55nvfc8nlfmvssbrw0000gn/T/pip-build-env-wsss2pb_/overlay/lib/python3.12/site-packages/setuptools/command/egg_info.py", line 311, in run
self.find_sources()
File "/private/var/folders/b4/x6rbx7v55nvfc8nlfmvssbrw0000gn/T/pip-build-env-wsss2pb_/overlay/lib/python3.12/site-packages/setuptools/command/egg_info.py", line 319, in find_sources
mm.run()
File "/private/var/folders/b4/x6rbx7v55nvfc8nlfmvssbrw0000gn/T/pip-build-env-wsss2pb_/overlay/lib/python3.12/site-packages/setuptools/command/egg_info.py", line 540, in run
self.add_defaults()
File "/private/var/folders/b4/x6rbx7v55nvfc8nlfmvssbrw0000gn/T/pip-build-env-wsss2pb_/overlay/lib/python3.12/site-packages/setuptools/command/egg_info.py", line 578, in add_defaults
sdist.add_defaults(self)
File "/private/var/folders/b4/x6rbx7v55nvfc8nlfmvssbrw0000gn/T/pip-build-env-wsss2pb_/overlay/lib/python3.12/site-packages/setuptools/command/sdist.py", line 108, in add_defaults
super().add_defaults()
File "/private/var/folders/b4/x6rbx7v55nvfc8nlfmvssbrw0000gn/T/pip-build-env-wsss2pb_/overlay/lib/python3.12/site-packages/setuptools/_distutils/command/sdist.py", line 238, in add_defaults
self._add_defaults_ext()
File "/private/var/folders/b4/x6rbx7v55nvfc8nlfmvssbrw0000gn/T/pip-build-env-wsss2pb_/overlay/lib/python3.12/site-packages/setuptools/_distutils/command/sdist.py", line 322, in _add_defaults_ext
build_ext = self.get_finalized_command('build_ext')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/private/var/folders/b4/x6rbx7v55nvfc8nlfmvssbrw0000gn/T/pip-build-env-wsss2pb_/overlay/lib/python3.12/site-packages/setuptools/_distutils/cmd.py", line 303, in get_finalized_command
cmd_obj.ensure_finalized()
File "/private/var/folders/b4/x6rbx7v55nvfc8nlfmvssbrw0000gn/T/pip-build-env-wsss2pb_/overlay/lib/python3.12/site-packages/setuptools/_distutils/cmd.py", line 111, in ensure_finalized
self.finalize_options()
File "<string>", line 96, in finalize_options
File "/private/var/folders/b4/x6rbx7v55nvfc8nlfmvssbrw0000gn/T/pip-build-env-wsss2pb_/overlay/lib/python3.12/site-packages/Cython/Build/Dependencies.py", line 1154, in cythonize
cythonize_one(*args)
File "/private/var/folders/b4/x6rbx7v55nvfc8nlfmvssbrw0000gn/T/pip-build-env-wsss2pb_/overlay/lib/python3.12/site-packages/Cython/Build/Dependencies.py", line 1321, in cythonize_one
raise CompileError(None, pyx_file)
Cython.Compiler.Errors.CompileError: src/python/pathops/_pathops.pyx
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
The text was updated successfully, but these errors were encountered:
Installation Method | 安装方法与平台
Pip Install (I used latest requirements.txt)
Version | 版本
Latest | 最新版
OS | 操作系统
Mac
Describe the bug | 简述
此反馈来自skia-pathops作者对我一issue的回复。
#fonttools/skia-pathops#77
请有关人员at本项目中manim相关扩展作者,谢谢。
Screen Shot | 有帮助的截图
见下方代码。
Terminal Traceback & Material to Help Reproduce Bugs | 终端traceback(如有) + 帮助我们复现的测试材料样本(如有)
install skia-pathops failed with python 3.12.4 on macOS15
The text was updated successfully, but these errors were encountered: