Git Product home page Git Product logo

Comments (4)

RedBluePrinter avatar RedBluePrinter commented on June 2, 2024 1

Hello @DarthJahus

I had the same Issue.

Please Update your Visual Studio or reinstall the BuildTools from the Visual Studio Updater to fix the issue.

Before:
amd64-cpython-39\Release\TTS/tts/utils/monotonic_align/core.obj
core.c
C:\Users\justi\anaconda3\envs\tts\include\pyconfig.h(200): fatal error C1083: Cannot open include file: 'basetsd.h': No such file or directory
error: command 'C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.35.32215\bin\HostX86\x64\cl.exe' failed with exit code 2
[end of output]

After:
Building wheels for collected packages: TTS
Building wheel for TTS (pyproject.toml) ... done
Created wheel for TTS: filename=TTS-0.22.0-cp39-cp39-win_amd64.whl size=903473 sha256=39a25d65d4d786c2187bfa0e21f544021b85868c8b92701ad02035bd4d3da89d
Stored in directory: c:\users\justi\appdata\local\pip\cache\wheels\e9\94\e7\52e526c3ef9c07ac0b67a7dce87f81b6fb83ffd2d1754224e3
Successfully built TTS

from tts.

Artificiangel avatar Artificiangel commented on June 2, 2024

Microsoft Visual Studio\2022\Community\VC\Tools\MSVC

Thanks!
I've been having issues for months, never could figure it out,
reinstalled buildtools numerous times,
tried many versions and set a whole bunch of paths manually for python.
But this led me to the solution!

Instead of buildtools found in Program Files (x86)\Microsoft Visual Studio 14.0
Using Program Files\Microsoft Visual Studio\2022 worked.

I then ran into a new error LNK1158 cannot run rc.exe which wasn't too bad to fix.

from tts.

RedBluePrinter avatar RedBluePrinter commented on June 2, 2024

It is always good to have your Visual Studio Up to date. I tried it again on my laptop (for good measure) and it seems that the old installation I had has not worked... But after a quick update from the installer everything went fine again. 😃

from tts.

RedBluePrinter avatar RedBluePrinter commented on June 2, 2024

If it still not works could you please provide me with components you have installed on you VSC 2022? (You can find a list In the MS VSC Installer)

from tts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.