BennyKok / comfyui-deploy

An open source `vercel` like deployment platform for Comfy UI
https://comfydeploy.ing
GNU Affero General Public License v3.0
963 stars 124 forks source link

Coroutine error when install directly from manager #7

Closed paulpierre closed 8 months ago

paulpierre commented 8 months ago

The running comfyui and the custom node comfyui-deploy is loaded, the following error is thrown:

TypeError: Passing coroutines is forbidden, use tasks explicitly.

Screenshot 2024-01-14 at 7 51 20 AM

BennyKok commented 8 months ago

May i also know your python version, and also can you do a pip freeze to print out the deps version?

BennyKok commented 8 months ago

Is it possible to run with python3.10 if you were able to?

j-jiseophan commented 8 months ago

same here on 3.10.11

certifi==2023.11.17
charset-normalizer==3.3.2
filelock==3.13.1
fsspec==2023.12.2
idna==3.6
Jinja2==3.1.3
MarkupSafe==2.1.4
mpmath==1.3.0
networkx==3.2.1
numpy==1.26.3
pillow==10.2.0
requests==2.31.0
sympy==1.12
torch==2.1.2+cu121
torchaudio==2.1.2+cu121
torchvision==0.16.2+cu121
typing_extensions==4.9.0
urllib3==2.1.0
bijanv commented 8 months ago

Also encountering this on Python 3.10.11

j-jiseophan commented 8 months ago

@BennyKok which python version are you using?

BennyKok commented 8 months ago

CleanShot 2024-01-22 at 22 20 02@2x

not sure why im having a messy deps

pip freeze

absl-py==2.0.0 accelerate==0.21.0 addict==2.4.0 aiohttp==3.8.5 aiosignal==1.3.1 antlr4-python3-runtime==4.9.3 appnope @ file:///Users/builder/ci_310/appnope_1642500616005/work asttokens @ file:///opt/conda/conda-bld/asttokens_1646925590279/work async-timeout==4.0.3 attrs==23.1.0 backcall @ file:///home/ktietz/src/ci/backcall_1611930011877/work boltons==23.0.0 boto3==1.33.12 botocore==1.33.12 bpy==3.6.0 brotlipy==0.7.0 certifi @ file:///private/var/folders/sy/f16zz6x50xz3113nwtb9bvq00000gp/T/abs_2emnmf1qow/croot/certifi_1690232232440/work/certifi cffi @ file:///private/var/folders/sy/f16zz6x50xz3113nwtb9bvq00000gp/T/abs_1b0qzba5nr/croot/cffi_1670423213150/work chardet==5.2.0 charset-normalizer @ file:///tmp/build/80754af9/charset-normalizer_1630003229654/work clip @ git+https://github.com/openai/CLIP.git@a1d071733d7111c9c014f024669f959182114e33 clipseg @ git+https://github.com/timojl/clipseg.git@bbc86cfbb7e6a47fb6dae47ba01d3e1c2d6158b0 cmake==3.27.5 coloredlogs==15.0.1 colorlog==6.8.0 contourpy==1.1.0 cryptography @ file:///private/var/folders/sy/f16zz6x50xz3113nwtb9bvq00000gp/T/abs_e2pplk40z3/croot/cryptography_1689373680118/work cssselect2==0.7.0 cycler==0.11.0 Cython==3.0.0 dataclasses-json==0.5.14 decorator @ file:///opt/conda/conda-bld/decorator_1643638310831/work Deprecated==1.2.14 einops==0.6.1 embreex==2.17.7.post4 executing @ file:///opt/conda/conda-bld/executing_1646925071911/work fairscale==0.4.13 ffmpy @ git+https://github.com/WASasquatch/ffmpy.git@f000737698b387ffaeab7cd871b0e9185811230d filelock @ file:///private/var/folders/sy/f16zz6x50xz3113nwtb9bvq00000gp/T/abs_f29yrmlw9_/croot/filelock_1672387130651/work flatbuffers==23.5.26 fonttools==4.42.1 frozenlist==1.4.0 fsspec==2023.6.0 ftfy==6.1.1 fvcore==0.1.5.post20221221 gevent==23.9.1 gitdb==4.0.10 GitPython==3.1.32 gmpy2 @ file:///opt/concourse/worker/volumes/live/22766409-e78a-4fb0-711e-bd031212d672/volume/gmpy2_1645455563619/work greenlet==3.0.2 huggingface-hub==0.16.4 humanfriendly==10.0 idna @ file:///private/var/folders/sy/f16zz6x50xz3113nwtb9bvq00000gp/T/abs_00jf0h4zbt/croot/idna_1666125573348/work imageio==2.31.2 imageio-ffmpeg==0.4.9 img2texture @ git+https://github.com/WASasquatch/img2texture.git@a546609a915caf1dcb84a15bf44b5b639ad924e6 importlib-metadata==7.0.1 iopath==0.1.10 ipython @ file:///private/var/folders/c_/qfmhj66j0tn016nkx_th4hxm0000gp/T/abs_41_yzn938_/croot/ipython_1691532095563/work jedi @ file:///opt/concourse/worker/volumes/live/18b71546-5bde-4add-72d1-7d16b76f0f7a/volume/jedi_1644315243726/work Jinja2 @ file:///private/var/folders/sy/f16zz6x50xz3113nwtb9bvq00000gp/T/abs_6adj7x0ejx/croot/jinja2_1666908137966/work jmespath==1.0.1 joblib==1.3.2 jsonschema==4.21.0 jsonschema-specifications==2023.12.1 kiwisolver==1.4.5 lazy_loader==0.3 llvmlite==0.40.1 lxml==5.1.0 mapbox-earcut==1.0.1 MarkupSafe @ file:///private/var/folders/sy/f16zz6x50xz3113nwtb9bvq00000gp/T/abs_d4a9444f-bd4c-4043-b47d-cede33979b0fve7bm42r/croots/recipe/markupsafe_1654597878200/work marshmallow==3.20.1 matplotlib==3.7.2 matplotlib-inline @ file:///private/var/folders/sy/f16zz6x50xz3113nwtb9bvq00000gp/T/abs_9ddl71oqte/croots/recipe/matplotlib-inline_1662014471815/work mediapipe @ file:///Users/bennykok/Downloads/mediapipe-0.10.8-cp310-cp310-macosx_10_16_universal2.whl#sha256=76fc6d06b069bef655d46ece0af44bc0e0952d39f8e121c280f2b464abdf8022 mkl-fft==1.3.6 mkl-random @ file:///Users/ec2-user/mkl/mkl_random_1682994911338/work mkl-service==2.4.0 mpmath @ file:///private/var/folders/c_/qfmhj66j0tn016nkx_th4hxm0000gp/T/abs_8fyoqwupl2/croot/mpmath_1690848275746/work multidict==6.0.4 mypy-extensions==1.0.0 networkx @ file:///private/var/folders/sy/f16zz6x50xz3113nwtb9bvq00000gp/T/abs_666p3uavvu/croot/networkx_1690562005807/work numba==0.57.1 numpy==1.23.5 omegaconf==2.3.0 onnxruntime==1.15.1 opencv-contrib-python==4.8.0.76 opencv-python==4.8.0.76 opencv-python-headless==4.7.0.72 packaging==23.1 pandas==2.1.0 parso @ file:///opt/conda/conda-bld/parso_1641458642106/work pexpect @ file:///tmp/build/80754af9/pexpect_1605563209008/work pickleshare @ file:///tmp/build/80754af9/pickleshare_1606932040724/work piexif==1.1.3 pilgram==1.2.1 Pillow==9.4.0 platformdirs==3.10.0 pooch==1.7.0 portalocker==2.8.2 prompt-toolkit @ file:///private/var/folders/sy/f16zz6x50xz3113nwtb9bvq00000gp/T/abs_82emz7mook/croot/prompt-toolkit_1672387300396/work protobuf==3.20.3 psutil==5.9.5 ptyprocess @ file:///tmp/build/80754af9/ptyprocess_1609355006118/work/dist/ptyprocess-0.7.0-py2.py3-none-any.whl pure-eval @ file:///opt/conda/conda-bld/pure_eval_1646925070566/work py-cpuinfo==9.0.0 pycollada==0.8 pycparser @ file:///tmp/build/80754af9/pycparser_1636541352034/work pygltflib==1.16.0 Pygments @ file:///private/var/folders/sy/f16zz6x50xz3113nwtb9bvq00000gp/T/abs_cflayrfqsi/croot/pygments_1684279981084/work PyMatting==1.1.8 pymesh==1.0.2 pyOpenSSL @ file:///private/var/folders/c_/qfmhj66j0tn016nkx_th4hxm0000gp/T/abs_7fwdg30481/croot/pyopenssl_1690223429070/work pyparsing==3.0.9 PySocks @ file:///Users/builder/ci_310/pysocks_1642536366386/work python-dateutil==2.8.2 python-dotenv==1.0.0 pytz==2023.3 PyWavelets==1.4.1 PyYAML @ file:///private/var/folders/sy/f16zz6x50xz3113nwtb9bvq00000gp/T/abs_79xo15pf1i/croot/pyyaml_1670514753622/work referencing==0.32.1 regex==2023.8.8 rembg==2.0.50 reportlab==4.0.9 requests @ file:///private/var/folders/c_/qfmhj66j0tn016nkx_th4hxm0000gp/T/abs_fa2zrx4csg/croot/requests_1690400223595/work rpds-py==0.17.1 Rtree==1.1.0 s3transfer==0.8.2 safetensors==0.3.2 scikit-image==0.20.0 scikit-learn==1.3.0 scipy==1.11.2 seaborn==0.12.2 # Editable install with no version control (segment-anything==1.0) -e /Users/bennykok/anaconda3/envs/comfyui/lib/python3.10/site-packages shapely==2.0.2 six @ file:///tmp/build/80754af9/six_1644875935023/work smmap==5.0.0 sounddevice==0.4.6 stack-data @ file:///opt/conda/conda-bld/stack_data_1646927590127/work svg.path==6.3 svglib==1.5.1 sympy @ file:///private/var/folders/sy/f16zz6x50xz3113nwtb9bvq00000gp/T/abs_6dq9olsd7l/croot/sympy_1668202399031/work tabulate==0.9.0 termcolor==2.4.0 threadpoolctl==3.2.0 tifffile==2023.8.30 timm==0.9.7 tinycss2==1.2.1 tokenizers==0.13.3 tomli==2.0.1 torch==2.1.0.dev20230820 torchaudio==2.1.0.dev20230820 torchsde==0.2.5 torchvision==0.16.0.dev20230821 tqdm==4.66.1 traitlets @ file:///private/var/folders/sy/f16zz6x50xz3113nwtb9bvq00000gp/T/abs_0dtilxc0bw/croot/traitlets_1671143889152/work trampoline==0.1.2 transformers==4.26.1 trimesh==3.23.3 typing-inspect==0.9.0 typing_extensions @ file:///private/var/folders/sy/f16zz6x50xz3113nwtb9bvq00000gp/T/abs_35a9251r5y/croot/typing_extensions_1690297487409/work tzdata==2023.3 ultralytics==8.0.167 urllib3 @ file:///private/var/folders/sy/f16zz6x50xz3113nwtb9bvq00000gp/T/abs_1968zekhce/croot/urllib3_1686163172153/work wcwidth @ file:///Users/ktietz/demo/mc3/conda-bld/wcwidth_1629357192024/work webencodings==0.5.1 websocket==0.2.1 websocket-client==1.7.0 websockets==12.0 wrapt==1.15.0 xxhash==3.4.1 yacs==0.1.8 yapf==0.40.2 yarl==1.9.2 zipp==3.17.0 zope.event==5.0 zope.interface==6.1 zstandard==0.21.0

BennyKok commented 8 months ago

If you guys have time, would really appreciate trying with 3.10.9 I'm not sure if that the case, but at least we can rule that out