it said "Invalid syntax"
Closed this issue · 3 comments
mecoems commented
mecoems commented
StateLeon commented
Try running the command "where python" this will check if you firstly have python installed. If it displays a python.exe location then you have it installed but make sure to check what version it is running. Preferably Python 3.11. After you run all the checks and update it you need then try just running "pip3 install requests" in cmd.
fallino11 commented
Use py -m pip install requests
instead of python -m pip install requests
Use that in command prompt. (see the screenshot.)
Also make sure you have installed python 3 from the official website. (https://www.python.org/downloads/)