How to install libraries in Plugin managed recipes

Ramjee
Ramjee Registered Posts: 8 ✭✭
image.png image.png image.png

No option found to install python libraries like pandas, numpy, sickit-learn, statsmodels, yfinance. Hoping a solution to fix

Operating system used: Windows 11

Answers

  • Grace_Y
    Grace_Y Dataiker, Registered Posts: 1 Dataiker

    Hello Ramjee,

    To install libraries for a plugin recipe, you can modify the requirements.txt file in your plugin's root directory:
    <your-plugin>/code-env/python/spec/requirements.txt

    In the DSS UI, you can access and edit this file by navigating to:
    Plugins > Development > [Your Plugin] > Edit

    Here, under the spec folder, you should be able to see the requirements.txt.

    You can add the libraries there, then save your changes and update the code env on the plugin's Summary tab.

    Please see the attached screenshot for a visual example.


    Kind regards,
    Grace

Setup Info
    Tags
      Help me…