Installing libraries

Hi everyone,
I’m working on a pyRevit extension and would like to use other libraries like OpenAI. However, I’m running into challenges getting it to work smoothly within the pyRevit environment. Has anyone successfully used the OpenAI library within pyRevit?

Hi @Yasaman, welcome to the forum!

The official way of adding libraries to pyrevit is to create a lib extension (see here for a quick guide or here for a videoon how to do this).

Let us know if this solves your problem!