PIP Install (OpenAI)

Hello everyone,

I’m seeking assistance on how to import “OpenAI” into my OpenRPA environment. I’ve been exploring some options, but so far, I haven’t had any success. Could anyone please guide me on how to achieve this?

Thanks in advance for your help!
image

Hi @Juan_David_Castillo

You cannot use the activity like that. The porpose of the activity is only to install python libraries/packages.
The activity recieve a array of strings, one for each module you want to install like this:

{"requests, openai"}

To call python code inside openrpa, you shoud use activity called: Invoke Code

Hope it helps!

2 Likes

@kowts almost correct, you forgot 2 " :slight_smile:

{"requests", "openai"}
2 Likes

Hi, place the module as you told me but when I run the file it never loads the pip install
image

and when I disable “forge”, I get an error
image
image
image