Build Error: gtts 2.1.1 for Python 3.8.2 on Windows

Looking for help with this package that is failing to build in my project.

Runtime Details

Failing Packages

  • gtts 2.1.1

Reasons

  • Build failures: gTTS
  • Test failures: gTTS

Logs:

Processing .\gtts-2.1.1
  Created temporary directory: [...]AppData\Local\Temp\pip-req-build-4xjpsabu
  Added file:///C:/build/camel/work/gTTS-2.1.1 to build tracker '[...]\\AppData\\Local\\Temp\\pip-req-tracker-i6yw_jza'
    Preparing wheel metadata: started
    Running command '[...]AppData\Local\Temp\ActiveState-aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\python.exe' '[...]AppData\Local\Temp\ActiveState-aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\lib\site-packages\pip\_vendor\pep517\_in_process.py' prepare_metadata_for_build_wheel '[...]AppData\Local\Temp\tmpd1jct2c9'
    running dist_info
    creating [...]AppData\Local\Temp\pip-req-build-4xjpsabu\pip-wheel-metadata\gTTS.egg-info
    writing [...]AppData\Local\Temp\pip-req-build-4xjpsabu\pip-wheel-metadata\gTTS.egg-info\PKG-INFO
    writing dependency_links to [...]AppData\Local\Temp\pip-req-build-4xjpsabu\pip-wheel-metadata\gTTS.egg-info\dependency_links.txt
    writing entry points to [...]AppData\Local\Temp\pip-req-build-4xjpsabu\pip-wheel-metadata\gTTS.egg-info\entry_points.txt
    writing requirements to [...]AppData\Local\Temp\pip-req-build-4xjpsabu\pip-wheel-metadata\gTTS.egg-info\requires.txt
    writing top-level names to [...]AppData\Local\Temp\pip-req-build-4xjpsabu\pip-wheel-metadata\gTTS.egg-info\top_level.txt
    writing manifest file '[...]AppData\Local\Temp\pip-req-build-4xjpsabu\pip-wheel-metadata\gTTS.egg-info\SOURCES.txt'
    reading manifest file '[...]AppData\Local\Temp\pip-req-build-4xjpsabu\pip-wheel-metadata\gTTS.egg-info\SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    writing manifest file '[...]AppData\Local\Temp\pip-req-build-4xjpsabu\pip-wheel-metadata\gTTS.egg-info\SOURCES.txt'
    creating '[...]AppData\Local\Temp\pip-req-build-4xjpsabu\pip-wheel-metadata\gTTS.dist-info'
    error: invalid command 'bdist_wheel'
    Preparing wheel metadata: finished with status 'error'
Cleaning up...

Hey @BransonB1,

I took a look at your project and grabbed some additional logs. The logs aren’t exposed to users quite yet (that’s coming). Looks like a missing dependency in our information for gtts. I reached out to the build engineers to see if we can get it resolved. I’ll report back when I have an answer.

@BransonB1, looks like this was resolved recently. If you go to your Configuration tab, set the gtts version to 2.1.1 instead of Auto then commit the change that will trigger a rebuild and your should have a working project when it completes.

My fork of your project for reference: https://platform.activestate.com/careyh/virtual-assistant/customize?commitID=c2834308-c9f9-4f5b-b650-d0f2fb4666ee

  • Carey