Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

How to install python-requests package for Python 2.7 and 3.4 on a Windows PC

Options
  • 22-10-2015 1:57pm
    #1
    Closed Accounts Posts: 2,828 ✭✭✭


    This has been defeating me for the past few days. Can some kind soul rescue me from my purgatory? :)


Comments

  • Registered Users Posts: 2,016 ✭✭✭Colonel Panic


    What have you tried in the past few days?


  • Registered Users Posts: 2,426 ✭✭✭ressem


    open up a command prompt window. (This may need to be an administrator elevated command window, depending on where python is installed, and your operating system.)

    CD to your python install directory.
    cd to the scripts directory

    pip install requests


  • Closed Accounts Posts: 2,828 ✭✭✭5rtytry56


    ressem, I will update the thread to let you know how I get on.


  • Closed Accounts Posts: 2,828 ✭✭✭5rtytry56


    Does the fact that this package is designed for Python 2.8.1 and I have Python 2.7 anything have to do with it?
    The package is only availabEDIT: THe ZIP does include a package for Python 3.x . le for 2.8.1 and no package for 3.x python.


  • Closed Accounts Posts: 2,828 ✭✭✭5rtytry56


    ressem, thanks:


    C:\Python34\Scripts>pip install requests
    Downloading/unpacking requests
    Installing collected packages: requests
    Successfully installed requests
    Cleaning up...

    C:\Python34\Scripts>


  • Advertisement
Advertisement