kduvvuri
(Kiran)
February 21, 2022, 5:21am
#1
Hello All,
I am unable to run python scope with Uipath.Python.Activities 1.6.0 for python 310 x64 version
any clue on what am I missing here?
Python is installed in location : “C:\Users…\AppData\Local\Programs\Python\Python310”
the same path is also available in environment variables PATH
When I run the python from my VS code it works and I get a response.
Is there any environment that I need to adjust for uipath to load python properly? or am I missing on the parameters to be used correctly?
Did quite a search in the forums but could not get a solution that works
thanks,
Kiran
1 Like
Gokul001
(Gokul Balaji)
February 21, 2022, 5:37am
#2
Hi @kduvvuri
Have a look on the thread
I managed to find a solution.
I saved and closed the solution
Opened the Project Dependencies Mass Update Tool
Selected Local and Official and pressed next
Searched for Python, there was only version 1.0.6 there
I ticked include prerelease and the 1.1.6 version showed up
I closed the mass update tool
Opened the project I was working on
Opened Package manager
Now the 1.1.6 was available for the python activity so I updated it and it now works.
I do not know if the mass update tool made the tri…
Regards
Gokul
Srini84
(Srinivas)
February 21, 2022, 2:30pm
#3
@kduvvuri
Can you set the version of the Python instead of Auto?
Thanks
jeevith
(Jeevith Hegde, Ph.D.)
February 21, 2022, 2:55pm
#4
Hi @kduvvuri ,
Your use of parameters looks good. I cannot confirm the Path from your screenshot, but I am assuming it is as you write in your post :
I recently was playing around Virtual Environments and I did get the same error as you (Error initializing Python engine). My best guess is the way Python 310 has implemented its folder structure, UiPath fails to parse it and find the python.exe file. I am guessing here as I don’t have Python310 installed to confirm this. In a virtual environment this is the case.
If you have other version of python installed it is worth a check.
The thread I am refereeing to :
kduvvuri
(Kiran)
February 21, 2022, 7:32pm
#5
I did that still an issue
kduvvuri
(Kiran)
March 2, 2022, 4:58am
#6
I got help from uipath support and this issue got resolved after having the python dll path updated in the library path as shown below
5 Likes
system
(system)
closed
March 5, 2022, 4:59am
#7
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.