Using python in UI path - Pipe is broken error

I am getting the pipe is broke error . I am using python version 3.9

import pandas as pd
import matplotlib.pyplot as plt
import re
from matplotlib import pyplot as plt
from matplotlib_venn import venn2
import numpy as np
from wordcloud import WordCloud
import matplotlib.pyplot as plt

excel_file = r’C:\Users\HARISH R\Exctracted_Data.xlsx’
df = pd.read_excel(excel_file)
print(20)#just to test whether the code is working

this is the code inside my python file .
Main.xaml (7.7 KB)

Uploaded the file for reference .

@Harish_saravanan_R

Installing .net 5.0 is important for python to work

can you please install the same and check

cheers


Is this the one i should download ?

Hi @Harish_saravanan_R ,

.NET Desktop Runtime 5.0.17 : https://download.visualstudio.microsoft.com/download/pr/3aa4e942-42cd-4bf5-afe7-fc23bd9c69c5/64da54c8864e473c19a7d3de15790418/windowsdesktop-runtime-5.0.17-win-x64.exe

Regards,
Vinit Mhatre

I have installed it , do i have to change anything in program because i still get the error .

Thanks,
Harish

Did you try to run your python code on interpreter?

Yes it works , went through some youtube videos all of them were using functions. I want use without method in the code

Could you please tell me your actual process in steps, actually what are you trying to do with python in UiPath

Lets say i try to run this code and view its data frme in UiPath. how will i be able to do this . I want to load the data frame and make some visualizations with the data , its works on python interpretor . It is my organisations requirement that i should do this in UiPath.

import pandas as pd
import matplotlib.pyplot as plt
import re
from matplotlib import pyplot as plt
from matplotlib_venn import venn2
import numpy as np
from wordcloud import WordCloud
import matplotlib.pyplot as plt

excel_file = r’C:\Users\HARISH R\Exctracted_Data.xlsx’
df = pd.read_excel(excel_file)
print(df.head())

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