-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Finally installed successfully on Windows, it's really a nightmare #27
Comments
How would this solution work with python_embeded? |
Method 1: You can add Method 2: You can directly enter the python_embeded directory and add When using the mim command, also add Note that when installing requirements. txt, please pay attention to the path, or you can copy this file to the current directory and then execute |
thank you ,your method work on +cu121 |
confirmed as working dindn't mess with any of my 50 custom nodes installed. |
#26 can change "mmdet/init.py" line9 "2.2.0" to "2.3.0" to forcely make it compatible |
If the version is changed, it is easy to encounter a problem where 'Problem: name' init_detector 'is not defined` |
Installed successfully but I keep getting this error..
|
Linux환경에서 위처럼 설정했는데, 에러가 발생합니다! !!! Exception during processing !!! |
Thank you, this worked for me. I prepended ......\python_embeded\python.exe -m to all the commands from inside the Musepose custom node directory. I was finally getting things installed. |
3q ,It works. As you say ,torch version: 2.1.1+cu121 is turly important!!! |
This guide is now outdated as Will install a newer incompatible 3.3.0 version, specify manually which to use python.exe -m mim install "mmdet==3.2.0" |
I tried to run this command. Then I got this error.
I'm not sure, but it seems like the solution will require
Can anyone help me? |
I solved the problem now. Thanks a lot. |
It also useful in linux. |
Let me share my installation process below:
Python version: 3.11.8
cuda : 12.1
Python executable: ComfyUI_windows_portable\python_embeded\python.exe
torch version: 2.1.1+cu121 (Very important)
xformers version: 0.0.23
torch url: https://pytorch.org/get-started/previous-versions/
Torch suggests choosing the same version as me, as the mmcv version requires 2.1.0,Torch 2.2. x and above versions do not have the corresponding mmcv version 2.1.0, which is not provided by the official and needs to be compiled by oneself. Compiling on your own is a bunch of unimaginable problems, so in order to reduce trouble for yourself.
After confirming all the above, you can install the project's dependency packages.
Note: You can choose to comment out the torch here, torchvision,xformers
pip install -r requirements.txt
Next, install openmim:
If you are using native comfyui, it may prompt a missing aliyunsdk,
pip install aliyun-python-sdk-core-v3==2.13.10
pip install --no-cache-dir -U openmim
mim install mmengine
Now, please note not to use
mim install "mmcv>=2.0.1"
.Do not use, do not use!Next, please use the following command to install mmcv:
pip install mmcv==2.1.0 -f https://download.openmmlab.com/mmcv/dist/cu121/torch2.1/index.html
Official page of mmcv:https://mmcv.readthedocs.io/zh-cn/latest/get_started/installation.html
Continue installing mmdet and mmpose now, please pay attention to the installation sequence.
mim install "mmdet>=3.1.0"
mim install "mmpose>=1.1.0"
Do you remember we commented out xforms? Now we need to install xforms.
pip install xformers==0.0.23
Finally, start comfyui!!!
At the same time, I made a hand-to-hand deployment video, which can be referenced by students who need it.
https://www.bilibili.com/video/BV1H142127Zt/?pop_share=1&vd_source=b44c8fecb1353d20b573beb3d87fc159
The text was updated successfully, but these errors were encountered: