Reputation: 45
I am trying to use the requests module in a python script. I start by the import command and write the script however it is telling me that requests is not a module. Can anyone explain this to me? Is this not built in like "re" or do I have to import it in? I am new to python so any help would be great. Using Windows!
Thanks
Deirdre
Upvotes: 1
Views: 146
Reputation: 13373
No, requests
is a 3rd party library. You can install it using pip
.
pip install requests
And even if re
is built-in, you have to import
it in order to use it.
Upvotes: 1