# Installing Requests library for python in Ignition

**URL:** <https://forum.inductiveautomation.com/t/installing-requests-library-for-python-in-ignition/76089>\
**Category:** Ignition\
**Tags:** scripting, python\
**Created:** [July 7, 2023, 11:17pm UTC](https://forum.inductiveautomation.com/t/installing-requests-library-for-python-in-ignition/76089 "2023-07-07T23:17:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![a.beltran](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/a.beltran/32/18481_2.png) [@a.beltran](https://forum.inductiveautomation.com/u/a.beltran)\
**Post date:** [July 7, 2023, 11:17pm UTC](https://forum.inductiveautomation.com/t/installing-requests-library-for-python-in-ignition/76089/1 "2023-07-07T23:17:04Z")

</div>

I'm trying to install the Requests library for Python to script a code for logging into Microsoft SharePoint. I successfully installed the library in my local Python environment using pip, and I also downloaded the .tar file from the website. However, I'm encountering difficulties getting it to work in Ignition. I would greatly appreciate any assistance in guiding me through the process. Below is the code I'm attempting to create.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/2/d223a05b985c0292006ed2e6aebe65df27c9ea8b.png)

---

<div class="post-metadata">

**Author:** ![josborn](https://avatars.discourse-cdn.com/v4/letter/j/4bbf92/32.png) [@josborn](https://forum.inductiveautomation.com/u/josborn)\
**Post date:** [July 7, 2023, 11:27pm UTC](https://forum.inductiveautomation.com/t/installing-requests-library-for-python-in-ignition/76089/2 "2023-07-07T23:27:53Z")

</div>

Looks like it doesn't support Python 2.7, so i don't think you would be able to do this.

---

<div class="post-metadata">

**Author:** ![zacht](https://avatars.discourse-cdn.com/v4/letter/z/ea5d25/32.png) [@zacht](https://forum.inductiveautomation.com/u/zacht)\
**Post date:** [July 7, 2023, 11:32pm UTC](https://forum.inductiveautomation.com/t/installing-requests-library-for-python-in-ignition/76089/3 "2023-07-07T23:32:49Z")

</div>

> [@a.beltran](#):
>
> installed the library in my local Python environment using

I think the usual advice for HTTP calls is to use the built-in [httpClient](https://docs.inductiveautomation.com/display/DOC81/system.net.httpClient). As long as the username and password is using Basic Authentication (I don't know if this is the case or not) I would expect it to work.
