# Python Invoke Code Error

**URL:** <https://discourse.openiap.io/t/python-invoke-code-error/617>\
**Category:** OpenRPA\
**Created:** [June 23, 2023, 7:50pm UTC](https://discourse.openiap.io/t/python-invoke-code-error/617 "2023-06-23T19:50:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hariprasath](https://discourse.openiap.io/letter_avatar_proxy/v4/letter/h/4af34b/32.png) [@hariprasath](https://discourse.openiap.io/u/hariprasath)\
**Post date:** [June 23, 2023, 7:50pm UTC](https://discourse.openiap.io/t/python-invoke-code-error/617/1 "2023-06-23T19:50:05Z")

</div>

Hi, could you provide a YouTube video showing how to install Pip and use the Pandas library in Python invoke code?  
My invoke code uses the Pandas library. Throwing is the **#ModuleNotFoundError: No module called “pandas”** issue, though. However, I’m utilising common Python features like date, csv, zip files, and OS, and they all function completely fine. I entered the path **C:UsersDellAppDataLocalpython-3.7.3-embed-amd64** in the openRPA recorder plugin, but it is throwing a problem. Is there a path issue, or where should I use invoke code python on libraries to define the path?

 ![Screenshot 2023-06-24 011614](https://discourse.openiap.io/uploads/default/original/1X/01ccb7fdcfa178a5b34acf232bd9c384c2989950.png)

---

<div class="post-metadata">

**Author:** ![Allan\_Zimmermann](https://discourse.openiap.io/user_avatar/discourse.openiap.io/allan_zimmermann/32/12_2.png) [@Allan\_Zimmermann](https://discourse.openiap.io/u/Allan_Zimmermann)\
**Post date:** [June 23, 2023, 8:12pm UTC](https://discourse.openiap.io/t/python-invoke-code-error/617/2 "2023-06-23T20:12:43Z")

</div>

please don’t make multiple post about the same thing.

You need to install the modules you need first.  
OpenRPA by default uses python embedded, you can install packages using the pip installa activity or see this post for info about how do do it from command line

> [@Using InvokeCode for python code](https://discourse.openiap.io/t/using-invokecode-for-python-code/271/2):
>
> Hey. OpenRPA uses python embedded, it allows for complete control over the python runtime, that is needed to map variables in/out of python. Therefor it cannot see packages you installed in your “own” python. So you need to use the pip install activity or run pip install from C:\Users\%USERNAME%\AppData\Local\python-3.7.3-embed-amd64 The draw back is, the only python 3.7 is suppurted. If you have a supported version of python 3.7 in your PATH you can go to settings → recorder plugins → Scripti…

---

<div class="post-metadata">

**Author:** ![system](https://discourse.openiap.io/uploads/default/original/2X/a/a1ca7b164ac9a826839704d9ac82c7b5e6bcf557.png) [@system](https://discourse.openiap.io/u/system)\
**Post date:** [June 30, 2023, 8:13pm UTC](https://discourse.openiap.io/t/python-invoke-code-error/617/3 "2023-06-30T20:13:15Z")

</div>

Closed on June 30, 2023, 8:13pm UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
