No module named 'urllib3.packages.six.moves'

285 views Asked by At

I'm trying to use the groupme API with GroupyAPI, but I'm having some issues with urllib3.

import urllib3
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Users\smlac\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\__init__.py", line 8, in <module>
    from .connectionpool import (
  File "C:\Users\smlac\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connectionpool.py", line 11, in <module>
    from .exceptions import (
  File "C:\Users\smlac\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\exceptions.py", line 2, in <module>
    from .packages.six.moves.http_client import (
ModuleNotFoundError: No module named 'urllib3.packages.six.moves'

I have tried this on both my laptop and PC, for some reason it works on my PC, but I need to use it on my laptop as well. I have uninstalled urllib and reinstalled it, I have verified the versions match with what I'm using on my PC and they all match. I made sure that python is in my environmental variables path. I just don't understand why it only works on my PC.

Any help would be greatly appreciated.

0

There are 0 answers