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: No module named 'six' #1

Closed
KnifeFed opened this issue Nov 22, 2021 · 2 comments
Closed

ModuleNotFoundError: No module named 'six' #1

KnifeFed opened this issue Nov 22, 2021 · 2 comments

Comments

@KnifeFed
Copy link

Hey. I'm trying to run the script on Unraid but I just get:

$ python3 ./subcleaner.py
Traceback (most recent call last):
  File "/mnt/user/scripts/subcleaner/./subcleaner.py", line 3, in <module>
    from subcleaner.main import main
  File "/mnt/user/scripts/subcleaner/subcleaner/main.py", line 6, in <module>
    from .cleaner import Cleaner
  File "/mnt/user/scripts/subcleaner/subcleaner/cleaner.py", line 1, in <module>
    from .subtitle import Subtitle
  File "/mnt/user/scripts/subcleaner/subcleaner/subtitle.py", line 2, in <module>
    from libs.langdetect import detect_langs
  File "/mnt/user/scripts/subcleaner/libs/langdetect/__init__.py", line 1, in <module>
    from .detector_factory import DetectorFactory, PROFILES_DIRECTORY, detect, detect_langs
  File "/mnt/user/scripts/subcleaner/libs/langdetect/detector_factory.py", line 10, in <module>
    from .detector import Detector
  File "/mnt/user/scripts/subcleaner/libs/langdetect/detector.py", line 4, in <module>
    import six
ModuleNotFoundError: No module named 'six'

Is there some dependency I'm missing?

@KBlixt
Copy link
Owner

KBlixt commented Nov 22, 2021

mh, try installing the six module. this module usually comes pre-installed with python but maybe not in unraid?
will investigate and might change some code but for you it's a fairly straight forward fix, just install the six module.

@KnifeFed
Copy link
Author

Well, that was easy. Thank you :)

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