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

Warning - 'regex' module is not installed. #2

Closed
ObamaGaming45 opened this issue Jan 7, 2023 · 3 comments
Closed

Warning - 'regex' module is not installed. #2

ObamaGaming45 opened this issue Jan 7, 2023 · 3 comments

Comments

@ObamaGaming45
Copy link

C:\Users\bnico\Desktop\redacted>python3 translateSfw.py gather
Warning - 'regex' module is not installed, JPEXSActionScriptParser heuristics will be less effective
Warning - cannot import one of 'stanza', 'jamdict', 'jaconv' modules - OfflineTranslator will not be available

I have executed the pip install regex command and it did not fix it.

@tkarabela
Copy link
Owner

Hi, I think the issue might be that you now have both Python 2 and 3 in your system, and the pip you called was from the Python 2.

Can you try this?

python3 -m pip install regex

(From what I remember, the regex dependency is kind of important to get as many translatable strings as possible; the script will run without it, but not catch as many strings.)

@ObamaGaming45
Copy link
Author

It worked, thanks. Although it didn't translate most of it, it translated enough.

@tkarabela
Copy link
Owner

Glad to hear you got it working! :)

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

2 participants