Which directory should requests and openpyxl modules be installed to?

Nathan Ernst nathan.ernst at gmail.com
Mon Apr 3 18:04:31 EDT 2017

If you've installed into Program Files, then you're on Windows, and you've
installed for all users. Start a command prompt by right-clicking on the
start icon, then selecting "Command Prompt (Admin)". This should work on
Windows 8.x and Windows 10. Windows 7, you may need to navigate through
Programs to Windows System\Command Prompt (path might be different - may be
under Windows Accessories), then right-clicking on Command Prompt (Admin).
>From that prompt, you should be able to run "py pip install <module>" and
install it site-wide (for all local users)

On Mon, Apr 3, 2017 at 4:36 PM, <psmith36 at ewu.edu> wrote:

> On Monday, April 3, 2017 at 2:02:30 PM UTC-7, Pauline wrote:
> > Hi,
> >
> >   I am a newbie to Python.  I am using Python 2.7.12.  I want to install
> the modules of requests and openpyxl using pip.  In the Internet, people
> only said pip install requests, but they do not say in which directory.  I
> only found one that said install in the script directory within Python.
> Well, that didn't work.
> >
> >   How and which directory in the command line to type pip install
> requests?
> >
> > Thanks!
> > Pauline
> Hi Nate,
>   Thank you for your prompt reply.  I am just installing it on my computer
> with administrative privileges. I think I can go into the command line, but
> then I do not know which directory to go to type:  pip install requests
>   If I have installed python 2.7.12 in the Program Files directory, and
> then there are many directories within the Python 2.7.12 directory, then
> which directory should I go to install the modules?
>   I think my situation is indeed very simple.
> Pauline
> --
> https://mail.python.org/mailman/listinfo/python-list

More information about the Python-list mailing list