You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to translate an extracted srt file from an mkv into english.
I have used the setup script for claude
And tried to install regex module separately
I cannot open the gui nor the command line version:
λ claude-subtrans "C:\Users\lode_\Videos\Transcriptiopns\ariaferma.srt" --target_language english
Traceback (most recent call last):
File "C:\Users\lode_\gpt-subtrans\scripts\claude-subtrans.py", line 9, in <module>
from scripts.subtrans_common import InitLogger, CreateArgParser, CreateOptions, CreateTranslator, CreateProject
File "C:\Users\lode_\gpt-subtrans\scripts\subtrans_common.py", line 7, in <module>
from PySubtitle.Helpers.Parse import ParseNames
File "C:\Users\lode_\gpt-subtrans\PySubtitle\Helpers\__init__.py", line 5, in <module>
import regex
ModuleNotFoundError: No module named 'regex'
Any advice?
The text was updated successfully, but these errors were encountered:
regex should be installed by the setup script, it is listed in requirements.txt. It's about the first import that isn't a built-in Python module, so if it can't be found the script is probably running in a different environment to the one it installed to.
There should be a folder named envsubtrans in the project root if the install was successful - it is a virtual environment, where the dependencies are installed.
If it isn't there, try running install again and check for errors in the output. If it is there, try deleting it and running install again!
Once the folder is definitely present, be sure to launch the app with the .cmd/.sh file created by the install script (it looks like you are from the log) as they activate the virtual environment before running the Python script, which should make sure it can find the dependency modules.
I am trying to translate an extracted srt file from an mkv into english.
I have used the setup script for claude
And tried to install regex module separately
I cannot open the gui nor the command line version:
Any advice?
The text was updated successfully, but these errors were encountered: