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

Linux: ModuleNotFoundError: No module named 'urllib3.packages.six.moves' #28

Open
yohlimem opened this issue Aug 31, 2024 · 1 comment

Comments

@yohlimem
Copy link

when i run the command: python3 whatbreach.py -h on linux i get this error messege

Traceback (most recent call last):
  File "/home/yahli/Documents/WhatBreach/whatbreach.py", line 1, in <module>
    from whatbreach.main import main
  File "/home/yahli/Documents/WhatBreach/whatbreach/main.py", line 5, in <module>
    from lib.cmd import Parser
  File "/home/yahli/Documents/WhatBreach/lib/cmd.py", line 3, in <module>
    import lib.settings
  File "/home/yahli/Documents/WhatBreach/lib/settings.py", line 11, in <module>
    from hookers.pastebin_hook import PastebinRawHook
  File "/home/yahli/Documents/WhatBreach/hookers/pastebin_hook.py", line 3, in <module>
    import requests
  File "/home/yahli/anaconda3/envs/WhatBreach/lib/python3.12/site-packages/requests/__init__.py", line 43, in <module>
    import urllib3
  File "/home/yahli/anaconda3/envs/WhatBreach/lib/python3.12/site-packages/urllib3/__init__.py", line 8, in <module>
    from .connectionpool import (
  File "/home/yahli/anaconda3/envs/WhatBreach/lib/python3.12/site-packages/urllib3/connectionpool.py", line 11, in <module>
    from .exceptions import (
  File "/home/yahli/anaconda3/envs/WhatBreach/lib/python3.12/site-packages/urllib3/exceptions.py", line 2, in <module>
    from .packages.six.moves.http_client import (
ModuleNotFoundError: No module named 'urllib3.packages.six.moves'
@KSK-IN
Copy link

KSK-IN commented Sep 23, 2024

Try this
pip install --upgrade urllib3 six

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