Skip to main content
Nintex Community Menu Bar

Upgrade Python in Kryon Studio

  • August 31, 2022
  • 0 replies
  • 115 views
  • Translate

MillaZ
Nintex Employee
Forum|alt.badge.img+21
  • Nintex Employee
  • 675 replies
Product: Kryon RPA
Product Version: All
Components: Kryon Studio
Article Contributors: Darren Cheng, Mark Lim
Prerequisites: Kryon Studio installation
Steps:
To upgrade the version of Python in Kryon Studio to the latest version please follow these steps.

Install Chocolatey

Open an elevated CMD prompt and run this command:
 
@"%SystemRoot%System32WindowsPowerShellv1.0powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%chocolateyin"
 
Then refresh the environment variables of the session by running this command:
refreshenv
 

Install/Upgrade Local Python Installation

Now upgrade your local python installation by running:

 

choco upgrade python -y

 

(Python will be installed if it isn't already installed)

 

Replace Kryon Studio Python Files

  • Go to C:Program FilesKryon Studio (or wherever your Studio installation is) and backup the Python folder by adding a "_backup" suffix to the end of the folder name.
  • Create a new Python folder in its place.
  • Copy all files from C:Python39 into the folder at C:Program FilesKryon StudioPython. Note the folder name may be slightly different depending on the version of Python you installed with Chocolatey.

 

Verify Python Version

  • Open Studio and create a wizard containing a Run Script AC which is set to Python and runs the following code:
     
import sys print(sys.version)
  • The variable output of the AC should read something similar to this
     
3.9.2 (tags/v3.9.2:1a79785, Feb 19 2021, 13:44:55) [MSC v.1928 64 bit (AMD64)]


 

Did this topic help you find an answer to your question?

0 replies

Be the first to reply!

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings