我正在为我的UBUNTU 20.4.3制作一个JARVIS AI。我已经安装了pyttsx3,但仍然出现了一个错误。请在这方面提供帮助:
macos@UBUNTU20:~/Python$ python -u "/home/macos/Python/jarvis.py"
Traceback (most recent call last):
File "/home/macos/Python/jarvis.py", line 1, in <module>
import pyttsx3
ImportError: No module named pyttsx3
macos@UBUNTU20:~/Python$ pip install pyttsx3
Requirement already satisfied: pyttsx3 in /home/macos/.local/lib/python3.8/site-packages (2.90)
在许多Mac/Linux计算机(本例中为Ubuntu)上安装了Python2发行版。如果
python version
打印出如下内容您可以通过运行
python3
而不是python
来解决混淆:相关问题 更多 >
编程相关推荐