본문 바로가기
예체능의 AI생활/stable diffusion

[COMFYUI] Reactor Failed import 뜰때 해결법

by JUUEEE 2024. 3. 4.
728x90
반응형

 

Reactor를 설치했는데

빨갛게 뜨면서 import failed 어쩌고 뜬다

간단하게 insight face 라는 파이썬 파일이 없어서 그렇다.

간단하게 해결가능하다. 근데 난 비주얼2022도 있는데 왜 없었지

 

Comfyui Reactor import failed 뜰때 해결방법.

-       Insight face 라는 파이썬 파일이 없어서라고 이해했다. 그래서 그걸 넣어주면 된다.

1.     본인의 파이썬 버전을 확인

Root 폴더 들어가서 주소창에 CMD 입력 후 아래 명령어 입력

python_embeded\python.exe -V

 

2.     Insightface package 다운로드(버전따라서)

for Python 3.10 for Python 3.11 for Python 3.12

다운 받고나서 root 폴더에 복붙

 

3.     루트폴더에서 활성화시키기

-       CMD 실행하고

-       (SD WebUI) CMD and .\venv\Scripts\activate

-       (ComfyUI Portable) run CMD

 

4.     Pip 업데이트 명령어 입력

-       (SD WebUI) : python -m pip install -U pip

-       (ComfyUI Portable) : python_embeded\python.exe -m pip install -U pip

 

5.     Insight face 설치 명령어 입력

-       (SD WebUI)

pip install insightface-0.7.3-cp310-cp310-win_amd64.whl (for 3.10)

pip install insightface-0.7.3-cp311-cp311-win_amd64.whl (for 3.11)

pip install insightface-0.7.3-cp312-cp312-win_amd64.whl (for 3.12)

-       (ComfyUI Portable)

python_embeded\python.exe -m pip install insightface-0.7.3-cp310-cp310-win_amd64.whl (for 3.10)

python_embeded\python.exe -m pip install insightface-0.7.3-cp311-cp311-win_amd64.whl (for 3.11)

python_embeded\python.exe -m pip install insightface-0.7.3-cp312-cp312-win_amd64.whl (for 3.12)

 

하면 잘 뜬다 굿

 

 

 

 

"이 포스팅은 쿠팡 파트너스 활동의 일환으로, 이에 따른 일정액의 수수료를 제공받습니다."

 

 

728x90
반응형

'예체능의 AI생활 > stable diffusion' 카테고리의 다른 글

[deforum] getting noise 해결법  (0) 2024.01.16
[SD] SAdtalker  (0) 2023.12.04
[SD] t2i animatediff  (0) 2023.12.01
[SD] i2i  (0) 2023.11.25
[SD] sadtalker 오류 -  (1) 2023.11.24

댓글