Skip to content
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

error with py-cpuinfo #3470

Open
Autantpourmoi opened this issue May 13, 2024 · 8 comments
Open

error with py-cpuinfo #3470

Autantpourmoi opened this issue May 13, 2024 · 8 comments

Comments

@Autantpourmoi
Copy link

hello recently i have this error message don't know what to do

Missing or outdated packages: py-cpuinfo==3.3.0
Installing/Updating missing packages...
Collecting py-cpuinfo==3.3.0
Using cached py_cpuinfo-3.3.0-py3-none-any.whl
Installing collected packages: py-cpuinfo
Attempting uninstall: py-cpuinfo
Found existing installation: py-cpuinfo 9.0.0
Uninstalling py-cpuinfo-9.0.0:
Successfully uninstalled py-cpuinfo-9.0.0
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
inference-sdk 0.9.23 requires py-cpuinfo>=9.0.0, but you have py-cpuinfo 3.3.0 which is incompatible.
inference-cli 0.9.13 requires py-cpuinfo>=9.0.0, but you have py-cpuinfo 3.3.0 which is incompatible.
inference-cli 0.9.13 requires skypilot==0.4.1, but you have skypilot 0.5.0 which is incompatible.
inference 0.9.23 requires py-cpuinfo>=9.0.0, but you have py-cpuinfo 3.3.0 which is incompatible.
Successfully installed py-cpuinfo-3.3.0

@ltdrdata
Copy link
Contributor

There is dependency conflict between ComfyUI-aichemy-nodes and ComfyUI_VLM_nodes.
You have to give up one of them.
And remove dependencies in that node.

TBH, I recommend reinstall ComfyUI and don't install thouse custom nodes simultaneously if you don't know how to handle package depenedencies.

@Autantpourmoi
Copy link
Author

Autantpourmoi commented May 13, 2024

thank u for your reactivity , but i just reinstall ComfyUI , one hour ago. Just to be sure , i'm not doing anything wrong , i should uninstall one of these custom nodes , and remove dependencies ( Which is listed in the requirements. txt of the node , right ?) . how do i uninstall them ? just pip remove ? and how do i know if they aren't needed by another custom nodes ?

@ltdrdata
Copy link
Contributor

thank u for your reactivity , but i just reinstall ComfyUI , one hour ago. Just to be sure , i'm not doing anything wrong , i should uninstall one of these custom nodes , and remove dependencies ( Which is listed in the requirements. txt of the node , right ?) . how do i uninstall them ? just pip remove ? and how do i know if they aren't needed by another custom nodes ?

yup you can use pip remove
but you have to make sure correct python environment.
Make sure to use the python environment that runs ComfyUI, not the system python.

@Autantpourmoi
Copy link
Author

Autantpourmoi commented May 13, 2024

Meaning i have to be in ComfyUI/.venv , right ? and so no risk to remove dependencies that may be needed somewhere else ? as i'm here , any idea for : Unable to import guidedFilter, make sure you have only opencv-contrib-python or run the import_error_install.bat script
i did remove it, reinstall it , tried different version same errors

@ltdrdata
Copy link
Contributor

Meaning i have to be in ComfyUI/.venv , right ? and so no risk to remove dependencies that may be needed somewhere else ?

If you are using venv, it is sufficient to do so while the venv is activated.

@Autantpourmoi
Copy link
Author

Autantpourmoi commented May 13, 2024

i just check i don't have ComfyUI-aichemy-nodes installed ???? only VLM

@ltdrdata
Copy link
Contributor

ltdrdata commented May 13, 2024

i just check i don't have ComfyUI-aichemy-nodes installed ???? only VLM

Check these nodes.

./ComfyUI-Crystools/requirements.txt:py-cpuinfo
./ComfyUI-N-Nodes/requirements.txt:py-cpuinfo
./ComfyUI-aichemy-nodes/requirements.txt:py-cpuinfo==9.0.0
./ComfyUI_VLM_nodes/requirements.txt:py-cpuinfo==3.3.0

@Autantpourmoi
Copy link
Author

Autantpourmoi commented May 13, 2024

i have the Crystools for sure , was using it , so will remove it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants