Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pywhispercpp does build from source on windows, how about releasing 1.3-beta? #78

Closed
PiotrCzapla opened this issue Oct 22, 2024 · 1 comment

Comments

@PiotrCzapla
Copy link
Contributor

Building from source using pip install "pywhispercpp @ git+https://....@comithash" fails, with cmake stating that it can't compile a simple program using cl.exe. It works fine when building from checked out repo. My guess is that that the temporary directory paths are super long on windows over 220 characters long and I've seen reports that Visual Studio fails with criptic error when file paths are longer than 260 characters.

So It would be really helpful to have a functional wheels for Windows. So having a nightly build with 1.3- would be nice, or we could get 1.3-beta released?

But adding 1.3- would tackle the upload-artifact@v4 issue.

@PiotrCzapla
Copy link
Contributor Author

I've tested the build process and it works okey when a shorter tmp is selected.
For pip use

$env:TMPDIR=c:\tmp
pip install ...

for uv use:

$env:UV_CACHE_DIR="c:\tmp" 
uv pip install ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant