I have tried to install Requests like this:
python3 -m install requests
but it's not working.
You are using pip incorrectly. You should run pip
command from the command line, not in Python:
C:\Windows\system32> python3 -m pip install requests
C:\Windows\system32> python3
Python 3.6.1........
>>> import requests
Read pip documentation carefully.
pip
as a Python command, not in your shell... Run pip
before you run python
.
Yes, if it is in python, it will give a syntax error. Try it right when you open up the cmd.
In this link, I am in python:
But in the command prompt, it works:
Well, as for me, I have it already installed in Spyder.