how to fix the below error in comfyui Mixlab Nodes: Loaded jsonrepair## OK…
- User
how to fix the below error in comfyui
Mixlab Nodes: Loaded
json_repair## OK ChatGPT.available True edit_mask.available True C:\Users\CapsA01\ComfyUI_windows_portable\python_embeded\Lib\site-packages\timm\models\layers_init_.py:48: FutureWarning: Importing from timm.models.layers is deprecated, please import via timm.layers warnings.warn(f"Importing from {name} is deprecated, please import via timm.layers", FutureWarning)
- Assistant
- User
please mention the code that be run from inside of comfyui python embeded folder, based on the below one
pip install --upgrade timm
- Assistant
If you're using the embedded Python environment provided by ComfyUI (e.g.,
python_embededin your case), thepipcommand needs to be invoked using that specific environment's Python executable rather than the globally installed Python. Here’s how you can upgrade thetimmlibrary using the embedded Python in ComfyUI:-
Use the following command to ensure you’re using the embedded Python environment:
-
- User
please share the install command for the below module
timm<=1.0.10
- Assistant
To install a specific version or a version constraint like
timm<=1.0.10using the Python embedded in ComfyUI, you can use the following command:Installation Command:
For systems using the embedded Python in ComfyUI, navigate to the folder containing the
python_embededfolder (e.g., the root ComfyUI folder), and run:cmdpython_embeded\python.exe -m pip install 'timm<=1.0.10'Explanation:
python_embeded\python.exe: This ensures you're using ComfyUI's embedded Python.- : Runs the process using the correct Python environment.