(anytext) PS E:\AI_Tools\anytext> python inference.py
Traceback (most recent call last):
File "E:\AI_Tools\anytext\inference.py", line 1, in
from modelscope.pipelines import pipeline
File "C:\Users\hekan\anaconda3\envs\anytext\lib\site-packages\modelscope__init.py", line 4, in
from modelscope.utils.import_utils import LazyImportModule
File "C:\Users\hekan\anaconda3\envs\anytext\lib\site-packages\modelscope\utils__init__.py", line 1, in
from .hub import create_model_if_not_exist, read_config
File "C:\Users\hekan\anaconda3\envs\anytext\lib\site-packages\modelscope\utils\hub.py", line 12, in
from modelscope.utils.config import Config
File "C:\Users\hekan\anaconda3\envs\anytext\lib\site-packages\modelscope\utils\config.py", line 22, in
from modelscope.utils.import_utils import import_modules_from_file
File "C:\Users\hekan\anaconda3\envs\anytext\lib\site-packages\modelscope\utils\import_utils.py", line 18, in
from modelscope.utils.ast_utils import (INDEX_KEY, MODULE_KEY, REQUIREMENT_KEY,
File "C:\Users\hekan\anaconda3\envs\anytext\lib\site-packages\modelscope\utils\ast_utils.py", line 16, in
from modelscope.fileio.file import LocalStorage
File "C:\Users\hekan\anaconda3\envs\anytext\lib\site-packages\modelscope\fileio\init.py", line 4, in
from .io import dump, dumps, load
File "C:\Users\hekan\anaconda3\envs\anytext\lib\site-packages\modelscope\fileio\io.py", line 8, in
from .format import JsonHandler, YamlHandler
File "C:\Users\hekan\anaconda3\envs\anytext\lib\site-packages\modelscope\fileio\format\init__.py", line 5, in
from .yaml import YamlHandler
File "C:\Users\hekan\anaconda3\envs\anytext\lib\site-packages\modelscope\fileio\format\yaml.py", line 2, in
import yaml
ModuleNotFoundError: No module named 'yaml'
(anytext) PS E:\AI_Tools\anytext> python inference.py Traceback (most recent call last): File "E:\AI_Tools\anytext\inference.py", line 1, in
from modelscope.pipelines import pipeline
File "C:\Users\hekan\anaconda3\envs\anytext\lib\site-packages\modelscope__init.py", line 4, in
from modelscope.utils.import_utils import LazyImportModule
File "C:\Users\hekan\anaconda3\envs\anytext\lib\site-packages\modelscope\utils__init__.py", line 1, in
from .hub import create_model_if_not_exist, read_config
File "C:\Users\hekan\anaconda3\envs\anytext\lib\site-packages\modelscope\utils\hub.py", line 12, in
from modelscope.utils.config import Config
File "C:\Users\hekan\anaconda3\envs\anytext\lib\site-packages\modelscope\utils\config.py", line 22, in
from modelscope.utils.import_utils import import_modules_from_file
File "C:\Users\hekan\anaconda3\envs\anytext\lib\site-packages\modelscope\utils\import_utils.py", line 18, in
from modelscope.utils.ast_utils import (INDEX_KEY, MODULE_KEY, REQUIREMENT_KEY,
File "C:\Users\hekan\anaconda3\envs\anytext\lib\site-packages\modelscope\utils\ast_utils.py", line 16, in
from modelscope.fileio.file import LocalStorage
File "C:\Users\hekan\anaconda3\envs\anytext\lib\site-packages\modelscope\fileio\ init.py", line 4, in
from .io import dump, dumps, load
File "C:\Users\hekan\anaconda3\envs\anytext\lib\site-packages\modelscope\fileio\io.py", line 8, in
from .format import JsonHandler, YamlHandler
File "C:\Users\hekan\anaconda3\envs\anytext\lib\site-packages\modelscope\fileio\format\ init__.py", line 5, in
from .yaml import YamlHandler
File "C:\Users\hekan\anaconda3\envs\anytext\lib\site-packages\modelscope\fileio\format\yaml.py", line 2, in
import yaml
ModuleNotFoundError: No module named 'yaml'