Yash26
September 19, 2023, 12:54pm
1
UiPath giving error in Invoke python method activity when using import statement in python code. What’s the correct way to use import statements to import library in python code.
neha.upase
(Neha Upase)
September 19, 2023, 5:18pm
2
Hi,
You can use LOAD PYTHON SCRIPT activity
Please check below document
https://docs.uipath.com/activities/other/latest/developer/load-script
Hi @Yash26 ,
Maybe you could also check the below post :
@muhammedyuzuak
Thank you, your post guided me to the problem. When i was installing package in my PyCharm IDE it was installing only localy, so there was nothing installed inside:
C:\Users\User2\AppData\Local\Programs\Python\Python38\Lib\site-packages
Therefore uipath were throwing “pipe is broken” error. I have installed packages required for project using windows command line and it installed finally packages where i wanted. Now i can run my python script. Marking as solved.