Skip to content

关于comfyui中python3.11及以上版本chumpy相关问题 #67

@judian17

Description

@judian17

目前主流comfyuipython311及以上版本用的很多,实测comfyui-LHM节点发现按照安装方法安装chumpy时会报错:
File "E:\comfyui\ComfyUI-aki-v1.3\python11\Lib\site-packages\chumpy_init_.py", line 1, in
from .ch import *
File "E:\comfyui\ComfyUI-aki-v1.3\python11\Lib\site-packages\chumpy\ch.py", line 1319, in
from . import linalg
File "E:\comfyui\ComfyUI-aki-v1.3\python11\Lib\site-packages\chumpy\linalg.py", line 178, in
class SvdD(Ch):
File "E:\comfyui\ComfyUI-aki-v1.3\python11\Lib\site-packages\chumpy\linalg.py", line 181, in SvdD
@depends_on('x')
^^^^^^^^^^^^^^^
File "E:\comfyui\ComfyUI-aki-v1.3\python11\Lib\site-packages\chumpy\ch.py", line 1203, in _depends_on
want_out = 'out' in inspect.getargspec(func).args
^^^^^^^^^^^^^^^^^^
AttributeError: module 'inspect' has no attribute 'getargspec'

参考https://github.com/mattloper/chumpy/pull/59使用:
pip install git+https://github.com/mattloper/chumpy@9b045ff5d6588a24a0bab52c83f032e2ba433e17
后修复了此问题。仅供参考。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions