Skip to main content

Steps for adding of new libraries:

 

Step 1: Update the environment variable to reflect your Kryon Studio Python Folder

 

25768i5E31856EAC27405A.jpg25769iB4BFAD3B1A766856.jpg

 

 

Step 2: Download and extract the python library installation files to any location. (For this example, I am using dnspython which was downloaded at https://pypi.org/project/dnspython/#files)

 

Step 3: Launch a command prompt window and go to the location of the extracted python library installation files.

 

25770i2EFA32D97FFC094F.jpg

 

Step 4: Install the python library by running the following command: python setup.py install (Note: if using the tar.gz file, you may need to find another command to run the installation)

 

25771iDC0A4991F4156535.jpg25772iBA2AACC0C189886E.jpg

 

Step 5: Ensure that the library has been installed to the correct folder.

 

25773i025AD9F30CA19BAD.jpg

 

Step 6: Relaunch your Kryon Studio and create a wizard to test importing of the new library.

 

25774i21492B2CA3F6E457.jpg

 

Step 7: Finally, check the results of your import.

 

25775i55A961F7B74C6570.jpg

Hi Guys, following on from this article, you might want to add libraries via pip rather than download and install via setup.py as Mark described above.

 

To do this, open a command prompt and go to the Python folder in your Kryon Studio installation directory (typically C:Program FilesKryon StudioPython). Then run the following command:

 

python -m pip install

 

Once the install has complete you can check it is available by running:

 

python -m pip list

 

I hope this is useful, happy coding!

 

Darren


Thank you @Mark Lim​ , this is great contribution!


Thanks a lot!


Reply