Python loading script error

Hi
iam tring to execute python code ,iam getting following error

Main.xaml (5.8 KB)

In your Python scope provide the folder path to where the Python 36 is saved:

"C:\Users\Rohanjs94\AppData\Local\Programs\Python"

Instead of

“C:\Users\Rohanjs94\AppData\Local\Programs\Python\Python37-32”

1 Like

Exactly as ronanpeter said, if you want to know why, you can see the authorized version of Python in the property of your PythonScope:
image

And you selected “Python_36”, so you should probably install python 3.6 if you have only 3.7, add it to the path, and write “C:\Users\Rohanjs94\AppData\Local\Programs\Python\Python36-32" for the Path variable of your “PythonScope” Activity

And if you want to export it on another computer for someone else than yourself (Rohanjs94), you should Probably use the “GetEnvironmentFolder” Activity for “LocalApplicationData” and concat “\Programs\Python\Python36-32” to the resulting string.

1 Like