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

ModuleNotFoundError: No module named 'aliyunsdkcore' #70

Open
whitepapercg opened this issue Dec 14, 2024 · 3 comments
Open

ModuleNotFoundError: No module named 'aliyunsdkcore' #70

whitepapercg opened this issue Dec 14, 2024 · 3 comments

Comments

@whitepapercg
Copy link

whitepapercg commented Dec 14, 2024

Torch version: 2.4.1+cu121
no xformers and flash-attn

   Preparing metadata (setup.py): finished with status 'error'
[!]   error: subprocess-exited-with-error
[!]
[!]   python setup.py egg_info did not run successfully.
[!]   exit code: 1
[!]
[!]   [7 lines of output]
[!]   Traceback (most recent call last):
[!]     File "<string>", line 2, in <module>
[!]     File "<pip-setuptools-caller>", line 34, in <module>
[!]     File "C:\Users\Deniaud\AppData\Local\Temp\pip-install-htrhgxfp\aliyun-python-sdk-core_b48ccf81dab94fd0a3aa5081b20ba5cc\setup.py", line 41, in <module>
[!]       VERSION = __import__(PACKAGE).__version__
[!]                 ^^^^^^^^^^^^^^^^^^^
[!]   ModuleNotFoundError: No module named 'aliyunsdkcore'
[!]   [end of output]
[!]
[!]   note: This error originates from a subprocess, and is likely not a problem with pip.
[!] error: metadata-generation-failed
[!]
[!] Encountered error while generating package metadata.
[!]
[!] See above for output.
[!]
[!] note: This is an issue with the package mentioned above, not pip.
[!] hint: See above for details.
 [!]E:\SD\ComfyUI_windows_portable\ComfyUI\custom_nodes\scepter\scepter\workflow copy to E:\SD\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Scepter success!
 Traceback (most recent call last):
[!]   File "E:\SD\ComfyUI_windows_portable\ComfyUI\custom_nodes\scepter\install.py", line 22, in <module>
[!]     subprocess.check_call([sys.executable, '-m', 'pip', 'install', 'scepter'])
[!]   File "subprocess.py", line 413, in check_call
[!] subprocess.CalledProcessError: Command '['E:\\SD\\ComfyUI_windows_portable\\python_embeded\\python.exe', '-m', 'pip', 'install', 'scepter']' returned non-zero exit status 1.
install/(de)activation script failed: E:\SD\ComfyUI_windows_portable\ComfyUI\custom_nodes\scepter

Earlier versions of aliyunsdkcore install without problems, but then it is not possible to install scepter due to lack of compatibility.

@yaosheng216
Copy link
Contributor

You can try upgrade pip or update python version.

@whitepapercg
Copy link
Author

You can try upgrade pip or update python version.

Thanks! Yesterday I reinstalled ComfyUI and updated pip to the latest version.

aliyunsdkcore got install successfully, as well as scepter, but when running and importing Scepter, I get the following error:
ComfyUI-Scepter module for custom nodes: cannot import name 'find_loader' from 'importlib'

Python 3.12.4

@yaosheng216
Copy link
Contributor

This problem should related of python version, recommand you can try use python 3.10.15 or another version.

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