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

ModuleNotFoundError when running auto_subtitle #69

Open
SuperiorAlpaca opened this issue Feb 4, 2024 · 2 comments
Open

ModuleNotFoundError when running auto_subtitle #69

SuperiorAlpaca opened this issue Feb 4, 2024 · 2 comments

Comments

@SuperiorAlpaca
Copy link

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.

@zhangpeibj01
Copy link

pip install ffmpeg-python

@zaltinsoy
Copy link

#89
Updated setup file in this pull request correctly installs the ffmpeg-python.

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

3 participants