Open Ajaych7 opened 1 year ago
I don't think your server3.py was started So if you don't mind you'll have to start the server before executing client
C:\Windows\System32\JPMC-tech-task-1-py3>pip --version pip 22.2 from C:\python310\lib\site-packages\pip (python 3.10)
C:\Windows\System32\JPMC-tech-task-1-py3>pip dateutil ERROR: unknown command "dateutil"
C:\Windows\System32\JPMC-tech-task-1-py3>pip install python-dateutil Requirement already satisfied: python-dateutil in c:\python310\lib\site-packages (2.8.2) Requirement already satisfied: six>=1.5 in c:\python310\lib\site-packages (from python-dateutil) (1.16.0)
C:\Windows\System32\JPMC-tech-task-1-py3>python3 server3.py
Traceback (most recent call last):
File "C:\Windows\System32\JPMC-tech-task-1-py3\server3.py", line 26, in
could you help me
i think pip is not installed try installing pip and then run the program
line 51, in
quote = json.loads(urllib.urlopen(QUERY.format(random.random())).read())
AttributeError: module 'urllib' has no attribute 'urlopen'