JarodMica / audiosplitter_whisper

MIT License
93 stars 36 forks source link

FileNotFoundError: [Errno 2] No such file or directory: 'conf.yaml' #1

Closed cohrah closed 1 year ago

cohrah commented 1 year ago

Everything ran perfect until the last step with python split_audio.py

returned

Traceback (most recent call last): File "E:\voice stuff\audiosplitter_whisper\split_audio.py", line 11, in <module> with open("conf.yaml", "r") as file: FileNotFoundError: [Errno 2] No such file or directory: 'conf.yaml'

JarodMica commented 1 year ago

Everything ran perfect until the last step with python split_audio.py

returned

Traceback (most recent call last): File "E:\voice stuff\audiosplitter_whisper\split_audio.py", line 11, in <module> with open("conf.yaml", "r") as file: FileNotFoundError: [Errno 2] No such file or directory: 'conf.yaml'

Make sure you rename conf_example.yaml to conf.yaml :)!

cohrah commented 1 year ago

Seems to have fixed that issue. Now I'm running into another. I am using windows 11, python 3.10.7. VS Code 17.9.2

When I start the debug I get: Failed to create virtual environment. Error: [Errno 13] Permission denied: 'C:\\Users\\codyr\\OneDrive\\Desktop\\modelmakerstuff\\audiosplitter_whisper\\venv\\Scripts\\python.exe'

Seems to work fine with powershell but not with vs code. Most likely not a you thing but maybe you can help with it.

JarodMica commented 1 year ago

Original issue fixed, closing this issue. For the other one, this tells me it's probably vscode permissions, so you might want to run it as admin and see if that resolves anything.