Using Python with imports in UiPath

Hi @Hawkman,

Ok lets recap.

We now know that the approach works when using the terminal/powershell in PyCharm (I am unsure whay PyCharm uses as its terminal)

From what you are informing me, I am suspecting you are also using the Windows version of a UiPath project and not a Windows-Legacy version.

The windows version of Invoke PowerShell activity behaves differently: See this thread discussion Invoke powershell unable to recognized aws keyword - Help / Studio - UiPath Community Forum

So I am suspecting that you are getting this error because how the Invoke PowerShell activity uses the user scope of PowerShell and not system scope.

Can you tell us if you are using Windows or Windows-Legacy to build your project?

I am suspecting this because your virtual env should have numpy installed yet the error shown by Invoke PowerShell is “No module found”