auto-subtitle
auto-subtitle copied to clipboard
ModuleNotFoundError when running auto_subtitle
Hello! Can you please help me with this error?
I have Python 3.12.1 from Microsoft store and ffmpeg from chocolatey. I installed auto-subtitle binary according to readme. I am on Windows 10.
When I try to run auto_subtitle in any way (eg. auto_subtitle --help
), I get this error:
Traceback (most recent call last):
(…)
File "C:\Users\theuser\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\torch\nn\modules\module.py", line 8, in <module>
from torch._prims_common import DeviceLikeType
ModuleNotFoundError: No module named 'torch._prims_common'
I don't know if it's not connected to my python installation, but I not good with this stuff, so I’d rather ask.
pip install ffmpeg-python
https://github.com/m1guelpf/auto-subtitle/pull/89/ Updated setup file in this pull request correctly installs the ffmpeg-python.