Skip to content

"MeshGraphormer-DepthMapPreprocessor cannot import name 'pywrap_tensorflow' #8300

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

Open
sandrosem opened this issue May 27, 2025 · 4 comments
Labels
User Support A user needs help with something, probably not a bug.

Comments

@sandrosem
Copy link

Your question

Hey! I've just updated comfyui and now I'm getting this error message when trying to use MeshGraphormer Hand Refiner (it used to work perfectly):

"MeshGraphormer-DepthMapPreprocessor
cannot import name 'pywrap_tensorflow' from 'tensorflow.python' (C:\StabilityMatrix\Data\Packages\ComfyUI_Backup\venv\lib\site-packages\tensorflow\python_init_.py)"

any ideas how to get it to work again?

Logs

Other

No response

@sandrosem sandrosem added the User Support A user needs help with something, probably not a bug. label May 27, 2025
@ltdrdata
Copy link
Collaborator

Execute this

C:\StabilityMatrix\Data\Packages\ComfyUI_Backup\venv\Scripts\python.exe -m pip show tensorflow

What is displayed?

@sandrosem
Copy link
Author

Hi, thanks for the answer!

I got this: "WARNING: Ignoring invalid distribution -cipy (c:\stabilitymatrix\data\packages\comfyui_backup\venv\lib\site-packages)
WARNING: Ignoring invalid distribution -orch (c:\stabilitymatrix\data\packages\comfyui_backup\venv\lib\site-packages)
WARNING: Package(s) not found: tensorflow
"

@ltdrdata
Copy link
Collaborator

ltdrdata commented May 29, 2025

Hi, thanks for the answer!

I got this: "WARNING: Ignoring invalid distribution -cipy (c:\stabilitymatrix\data\packages\comfyui_backup\venv\lib\site-packages)
WARNING: Ignoring invalid distribution -orch (c:\stabilitymatrix\data\packages\comfyui_backup\venv\lib\site-packages)
WARNING: Package(s) not found: tensorflow
"

It seems that you didn't installed dependencies properly.

Execute this

C:\StabilityMatrix\Data\Packages\ComfyUI_Backup\venv\Scripts\python.exe -m pip install tensorflow

@sandrosem
Copy link
Author

thank you so much! everything's working again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
User Support A user needs help with something, probably not a bug.
Projects
None yet
Development

No branches or pull requests

2 participants