Open liuhaikunlun opened 1 month ago
python -m pip install oss2
谢谢,邮件已经收到!
python -m pip install oss2
It should be installed when installing modelscope, it's part of modelscope require dist.
May I ask, in which folder should I input this command? (I am a novice in coding and have accidentally learned many things)
python -m pip install oss2
It should be installed when installing modelscope, it's part of modelscope require dist.
May I ask, in which folder should I input this command? (I am a novice in coding and have accidentally learned many things)
Enter the python exe
folder, example on my pc:
Shift+right_click in this folder and open cmd.
According to your error log:
C:\Users\admin\Desktop\AIsafted\ComfyUI\python
to open cmd and execute pip install python -m pip install oss2
.win+x
and c
to open cmd:
Then type cd C:\Users\admin\Desktop\AIsafted\ComfyUI\python
and enter in cmd, in the finally type python -m pip install oss2
and enter in cmd, it should work.
Error occurred when executing AnyText:
No module named 'oss2'
File "C:\Users\admin\Desktop\AIsafted\ComfyUI\execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "C:\Users\admin\Desktop\AIsafted\ComfyUI\execution.py", line 81, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) File "C:\Users\admin\Desktop\AIsafted\ComfyUI\execution.py", line 74, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) File "C:\Users\admin\Desktop\AIsafted\ComfyUI\custom_nodes\ComfyUI-AnyText\AnyText\nodes.py", line 198, in anytext_process pipe = AnyText_Pipeline(ckpt_path=loader_out[1], clip_path=loader_out[2], translator_path=loader_out[3], cfg_path=loader_out[4], use_translator=use_translator, device=device, use_fp16=fp16, all_to_device=all_to_device, loaded_model_tensor=self.model) File "C:\Users\admin\Desktop\AIsafted\ComfyUI\custom_nodes\ComfyUI-AnyText\AnyText\AnyText_scripts\AnyText_pipeline.py", line 75, in init from modelscope.pipelines import pipeline File "C:\Users\admin\Desktop\AIsafted\ComfyUI\python\lib\site-packages\modelscope\pipelines__init.py", line 4, in from .base import Pipeline File "C:\Users\admin\Desktop\AIsafted\ComfyUI\python\lib\site-packages\modelscope\pipelines\base.py", line 16, in from modelscope.msdatasets import MsDataset File "C:\Users\admin\Desktop\AIsafted\ComfyUI\python\lib\site-packages\modelscope\msdatasets\init__.py", line 2, in from .ms_dataset import MsDataset File "C:\Users\admin\Desktop\AIsafted\ComfyUI\python\lib\site-packages\modelscope\msdatasets\ms_dataset.py", line 16, in from modelscope.msdatasets.data_loader.data_loader_manager import ( File "C:\Users\admin\Desktop\AIsafted\ComfyUI\python\lib\site-packages\modelscope\msdatasets\data_loader\data_loader_manager.py", line 12, in from modelscope.msdatasets.data_loader.data_loader import OssDownloader File "C:\Users\admin\Desktop\AIsafted\ComfyUI\python\lib\site-packages\modelscope\msdatasets\data_loader\data_loader.py", line 15, in from modelscope.msdatasets.data_files.data_files_manager import \ File "C:\Users\admin\Desktop\AIsafted\ComfyUI\python\lib\site-packages\modelscope\msdatasets\data_files\data_files_manager.py", line 11, in from modelscope.msdatasets.download.dataset_builder import ( File "C:\Users\admin\Desktop\AIsafted\ComfyUI\python\lib\site-packages\modelscope\msdatasets\download\dataset_builder.py", line 24, in from modelscope.msdatasets.download.download_manager import \ File "C:\Users\admin\Desktop\AIsafted\ComfyUI\python\lib\site-packages\modelscope\msdatasets\download\download_manager.py", line 9, in from modelscope.msdatasets.utils.oss_utils import OssUtilities File "C:\Users\admin\Desktop\AIsafted\ComfyUI\python\lib\site-packages\modelscope\msdatasets\utils\oss_utils.py", line 7, in import oss2