我正在尝试从cmd运行python文件,但它确实能够识别模块termcolor,该模块出现在我的python文件中
from termcolor import colored
...
print(colored("Oops", 'grey'))
cmd:
C:\Users>path\7.3.2.py
Traceback (most recent call last):
File "path\7.3.2.py", line 4, in <module>
from termcolor import colored
ModuleNotFoundError: No module named 'termcolor'