# I am getting import error for python Libraries (using RIDE)

**URL:** <https://forum.robotframework.org/t/i-am-getting-import-error-for-python-libraries-using-ride/8749>\
**Category:** Robot Framework\
**Created:** [7 April 2025 12:59 UTC](https://forum.robotframework.org/t/i-am-getting-import-error-for-python-libraries-using-ride/8749 "2025-04-07T12:59:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![srajara3](https://avatars.discourse-cdn.com/v4/letter/s/f04885/32.png) [@srajara3](https://forum.robotframework.org/u/srajara3)\
**Post date:** [7 April 2025 12:59 UTC](https://forum.robotframework.org/t/i-am-getting-import-error-for-python-libraries-using-ride/8749/1 "2025-04-07T12:59:49Z")

</div>

I am using project specific python libraries which is in my project folder structure.

I have configured my working directory path in Tools–\> preferences–\> PythonPath

Still i could see the library import fail (red colour).

Possible to get the support?

---

<div class="post-metadata">

**Author:** ![srajara3](https://avatars.discourse-cdn.com/v4/letter/s/f04885/32.png) [@srajara3](https://forum.robotframework.org/u/srajara3)\
**Post date:** [7 April 2025 13:05 UTC](https://forum.robotframework.org/t/i-am-getting-import-error-for-python-libraries-using-ride/8749/2 "2025-04-07T13:05:56Z")

</div>

![RIDE](https://europe1.discourse-cdn.com/flex005/uploads/robotframework1/original/2X/b/b5df9c861403eb6a5b4565269876dfc0a095ef3f.jpeg)

Ride logs

---

<div class="post-metadata">

**Author:** ![HelioGuilherme66](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/helioguilherme66/32/34_2.png) [@HelioGuilherme66](https://forum.robotframework.org/u/HelioGuilherme66)\
**Post date:** [7 April 2025 14:12 UTC](https://forum.robotframework.org/t/i-am-getting-import-error-for-python-libraries-using-ride/8749/3 "2025-04-07T14:12:41Z")

</div>

Hello @srajara3

I modified the title of your question and removed from section Libraries, because the question is not specific for Libraries (known).

The error log you show, clearly identifies the problem: **environment variable TEAM\_NAME is not defined**  
You need to follow instructions or contact the maker of that library (_UserXmlReporting.py_) about its use.

---

<div class="post-metadata">

**Author:** ![srajara3](https://avatars.discourse-cdn.com/v4/letter/s/f04885/32.png) [@srajara3](https://forum.robotframework.org/u/srajara3)\
**Post date:** [9 April 2025 06:02 UTC](https://forum.robotframework.org/t/i-am-getting-import-error-for-python-libraries-using-ride/8749/4 "2025-04-09T06:02:13Z")

</div>

Hello @HelioGuilherme66  
Thank you very much for your quick response, i have configured my work directory in the Tools–\> Preferences–\> Python Path.  
Now the import error for " UserXmlReporting.py" is resolved.

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/robotframework1/original/2X/8/856e5affd6f584821badfafb907c2208e9f76120.png)

Let me proceed further, if i need any clarifications, will comment here
