Skip to content

Microsoft Visual C++ Redistributable error on windows #127

@morbidCode

Description

@morbidCode

Hello,
I'm trying out audiblez on my windows 11 machine. I got it set up as described in the readme (installed all dependencies). But I got an error.

> audiblez gof.epub -v af_heart
Microsoft Visual C++ Redistributable is not installed, this may lead to the DLL load failure.

It can be downloaded at https://aka.ms/vs/16/release/vc_redist.x64.exe
Traceback (most recent call last):
File "", line 198, in run_module_as_main
File "", line 88, in run_code
File "C:\files\programs\runpod\audiblez\venv\Scripts\audiblez.exe_main
.py", line 7, in
File "C:\files\programs\runpod\audiblez\venv\Lib\site-packages\audiblez\cli.py", line 38, in cli_main
from core import main
File "C:\files\programs\runpod\audiblez\venv\Lib\site-packages\audiblez\core.py", line 10, in
import torch.cuda
File "C:\files\programs\runpod\audiblez\venv\Lib\site-packages\torch_init
.py", line 278, in
load_dll_libraries()
File "C:\files\programs\runpod\audiblez\venv\Lib\site-packages\torch_init
.py", line 274, in _load_dll_libraries
raise err
OSError: [WinError 126] The specified module could not be found. Error loading "C:\files\programs\runpod\audiblez\venv\Lib\site-packages\torch\lib\c10.dll" or one of its dependencies.

I have Microsoft Visual C++ Redistributable installed on my machine, not sure why it is not being recognized. It seems wierd that the error is coming from torch, I don't have cuda and just want CPU processing. What should I do?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions