Giter Club home page Giter Club logo

Comments (8)

melMass avatar melMass commented on May 19, 2024 1

I discovered the python-embed mode thanks to this issue!
I just tried and can reproduce! I will see how much the wheel weights and if they are not too big, I'll include them in releases, I'll do the first tag/release tomorrow probably!

from comfy_mtb.

melMass avatar melMass commented on May 19, 2024 1

I should probably add it to the readme!
You can use python -m pip install file.whl

from comfy_mtb.

melMass avatar melMass commented on May 19, 2024

Hi Moon Moon,

Thanks for the report, I've seen this before (python headers missing)!
From the issue you linked it seems to be a missing VS SDK on windows: https://stackoverflow.com/a/52397318/5412273
And on Linux, one must install the python3-dev!

I'm in the process of simplifying the install process too, it should be ready by tomorrow!

from comfy_mtb.

MoonMoon82 avatar MoonMoon82 commented on May 19, 2024

Hi @melMass and thank you for your reply!
I already installed this VS SDK and in general my locally installed python environment is fine with "building wheel for insightface". But if a call the embedded python environment
([...]python_embeded\python.exe` -m pip install -r requirements.txt)
this error still occurs.
I guess it has something to do with the embedded python environment not finding the right python3-dev files - even when they are already installed.

Thank you for taking care of this powerful ComfyUI node! I really appreciate your effort!

Kind regards

from comfy_mtb.

melMass avatar melMass commented on May 19, 2024

you can try the wheels for windows here release, you don't need to download the 135mb zip as it's just bundling a submodule that I will soon get rid off

from comfy_mtb.

MoonMoon82 avatar MoonMoon82 commented on May 19, 2024

Thank you @melMass,
In which folder do I have to put these whl files and is there anything I need to run afterwards?
EDIT: nevermind - I ran
C:\SD\ComfyUI_windows_portable\python_embeded\python.exe -m pip install insightface-0.7.3-cp310-cp310-win_amd64.whl
and the requirements installed successfully! Now I give your nodes a try ;-)

from comfy_mtb.

melMass avatar melMass commented on May 19, 2024

Fixed in #4 !

from comfy_mtb.

techoutsider avatar techoutsider commented on May 19, 2024

when installing the .whl files as stated above basicsr gets and error as satisfied,

python -m pip install basicsr-1.4.2-py3-none-any.whl

**Requirement already satisfied: addict in d:\2023\stable_diffusion_xl\comfyui_windows_portable\python_embeded\lib\site-packages (from basicsr==1.4.2) (2.4.0)
Collecting future (from basicsr==1.4.2)
Using cached future-0.18.3.tar.gz (840 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "C:\Users\joe\AppData\Local\Temp\pip-install-_blfa1fq\future_c67008316eb541ba85e68c2f4bfdb566\setup.py", line 86, in
import src.future
ModuleNotFoundError: No module named 'src'
[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.**

but when i run comfyui it says

**### Loading: ComfyUI-Manager (V0.15.1)

ComfyUI Revision: 1211 [00da9b32]

Log level: 20
[comfy_mtb] | WARNING -> Web extensions folder at D:\2023\stable_diffusion_xl\ComfyUI_windows_portable\ComfyUI\web\extensions\mtb is not a symlink, if updating please delete it before
RestoreFace
LoadFaceEnhanceModel
[comfy_mtb] | INFO -> Some nodes failed to load:
Failed to import module faceenhance because ModuleNotFoundError: No module named 'basicsr'**

from comfy_mtb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.