即使我拥有所有软件包,gtts也不起作用

时间:2019-06-21 06:05:34

标签: gtts

我写的时候

从gtts导入gTTS

Traceback (most recent call last):
  File "C:/Users/AK Singh/PycharmProjects/firs/sound_2.py", line 1, in <module>
    from gtts import gTTS
  File "C:\Users\AK Singh\AppData\Local\Programs\Python\Python37\lib\gtts\__init__.py", line 3, in <module>
    from .tts import gTTS, gTTSError
  File "C:\Users\AK Singh\AppData\Local\Programs\Python\Python37\lib\gtts\tts.py", line 4, in <module>
    from gtts.lang import tts_langs
  File "C:\Users\AK Singh\AppData\Local\Programs\Python\Python37\lib\gtts\lang.py", line 2, in <module>
    from bs4 import BeautifulSoup
ModuleNotFoundError: No module named 'bs4'

获取这些错误

0 个答案:

没有答案