-
-
Notifications
You must be signed in to change notification settings - Fork 499
Description
If you encounter the following error while running start.bat,
please, delete the ModelScope-related cache files and restart.
Error:
File "C:\Voice-Pro\installer_files\env\lib\site-packages\modelscope\utils\ast_utils.py", line 467, in _get_single_file_scan_result
output = self.astScaner.generate_ast(file)
File "C:\Voice-Pro\installer_files\env\lib\site-packages\modelscope\utils\ast_utils.py", line 366, in generate_ast
output = self.scan_import(node, show_offsets=False)
File "C:\Voice-Pro\installer_files\env\lib\site-packages\modelscope\utils\ast_utils.py", line 165, in scan_import
local_out = _scan_import(el, type(el).name)
File "C:\Voice-Pro\installer_files\env\lib\site-packages\modelscope\utils\ast_utils.py", line 134, in _scan_import
return self.scan_import(
File "C:\Voice-Pro\installer_files\env\lib\site-packages\modelscope\utils\ast_utils.py", line 152, in scan_import
attr = getattr(node, field)
AttributeError: 'ClassDef' object has no attribute 'type_params'
Files to delete:
