Open
Description
I am studying UCB's CS61A course. I have downloaded the ok program from the course website. However, when I was trying to run the ok program on my terminal, there was something wrong and the terminal reported ModuleNotFoundError: No module named 'urllib3.packages.six.moves'. How can I solve this problem?
The error tracebacks are:
$ python ok -q python-basics -u --local
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "D:\Root_Server\Software_Engineering\Courses\CS61A\Lab\lab00\ok\__main__.py", line 14, in <module>
File "D:\Root_Server\Software_Engineering\Courses\CS61A\Lab\lab00\ok\client\cli\ok.py", line 48, in <module>
File "D:\Root_Server\Software_Engineering\Courses\CS61A\Lab\lab00\ok\client\api\assignment.py", line 5, in <module>
File "D:\Root_Server\Software_Engineering\Courses\CS61A\Lab\lab00\ok\requests\__init__.py", line 43, in <module>
File "D:\Root_Server\Software_Engineering\Courses\CS61A\Lab\lab00\ok\urllib3\__init__.py", line 7, in <module>
File "D:\Root_Server\Software_Engineering\Courses\CS61A\Lab\lab00\ok\urllib3\connectionpool.py", line 11, in <module>
File "D:\Root_Server\Software_Engineering\Courses\CS61A\Lab\lab00\ok\urllib3\exceptions.py", line 2, in <module>
ModuleNotFoundError: No module named 'urllib3.packages.six.moves'
I have reinstalled the urllib3 package, but I still can not solve the problem. I hope that I can run the ok program on my terminal normally in order to test my labs, assignments and homeworks. I would be appreciated if I can get your help!
PS:
- My OS is Windows and my terminal is Git-bash.
- I have tried to run the ok program on the terminal of Linux, but the terminal also reported ModuleNotFoundError: No module named 'urllib3.packages.six.moves'.
Metadata
Metadata
Assignees
Labels
No labels
Activity