Hello! I am new to Python as I just downloaded it today. I have a script I need to run that has "requests" in it. How do I go about getting this set up? Also, I am on a Windows 7 machine. Here is the code: #Need to install requests package for python #easy_install requests import requests thanks, Ken Ken Lewis Trinity Health I.T. Programmer Lead (701) 858-6423 Cell (701)833-8234 Fax (701) 858-6407 Ken.Lewis@trinityhealth.org<mailto:Ken.Lewis@trinityhealth.org> ________________________________ Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain information that is privileged, confidential, or otherwise exempt from disclosure under applicable law. Any unauthorized review, copy, use, disclosure or distribution is prohibited. If you have received this communication in error, please delete it from your system without copying or forwarding it and notify the sender of the error by reply e-mail.
On 23 June 2017 at 22:14, Ken R. Lewis <Ken.Lewis@trinityhealth.org> wrote:
I have a script I need to run that has “requests” in it. How do I go about getting this set up?
At a command prompt (*not* the Python interpreter prompt) enter "py -m pip install requests". That will install requests for you and make it available for import. Paul
participants (2)
-
Ken R. Lewis
-
Paul Moore