Open StephenZhiyiLin opened 1 year ago
Same issue, is there a fix for this?
No, I failed to solve this problem.
获取Outlook for Androidhttps://aka.ms/AAb9ysg
From: B.Burt @.> Sent: Wednesday, January 3, 2024 3:12:22 AM To: okpy/ok @.> Cc: Stephen Zhiyi Lin @.>; Author @.> Subject: Re: [okpy/ok] ModuleNotFoundError: No module named 'urllib3.packages.six.moves' (Issue #1422)
Same issue, is there a fix for this?
― Reply to this email directly, view it on GitHubhttps://github.com/okpy/ok/issues/1422#issuecomment-1874435992, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AWV33BAXCDD3XS5A6TDHGEDYMRLZNAVCNFSM6AAAAABABIYRFKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZUGQZTKOJZGI. You are receiving this because you authored the thread.Message ID: @.***>
I used python version 3.11 (I first tried version 3.10 and it worked) in a virtual environment.
ok doesn't like pyhon3.12 for some reason.
I'm on Fedora, so first I installed Python3.11 with:
sudo dnf install python 3.11
then in my directory for the course (venv would work too):
virtualenv --python=$(which python3.11) cs61a-venv
then activate it:
source cs61a-venv/bin/activate
我也遇到这样的问题,刚刚成功解决。 我是学的2023 Fall的课程,使用python3.12和3.11都显示报错,后来去课程页面看了「Lab 00: Getting Started」,里面写着
Python 3.7 or later (ideally Python 3.9)
我感觉可能是版本太高的问题,于是我卸载了3.12和3.11,安装了3.9,就可以运行了。
我也遇到这样的问题,刚刚成功解决。 我是学的2023 Fall的课程,使用python3.12和3.11都显示报错,后来去课程页面看了「Lab 00: Getting Started」,里面写着
Python 3.7 or later (ideally Python 3.9)
我感觉可能是版本太高的问题,于是我卸载了3.12和3.11,安装了3.9,就可以运行了。
感谢老哥,就是版本问题,解决了!
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:
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: