0

How To Install Python Packages

Hi.  Out of the box, our Pyramid installation (running 2023.0.048) does not come with Python packages such as Pandas Matplotlib.  How do we install these into Pyramid?

2 replies

null
    • NPANS
    • 10 mths ago
    • Reported - view

    Search in the help for 'DSML Environments' and 'Virtual Scripting Environments'

    • Lara_Grysczyk
    • 10 mths ago
    • Reported - view

    Hi Bruce,

    you have to go into the Admin Menu -> AI,DS and ML -> ML Environments.

    There you have an overview of the different Python and R environments.

    Click on one (or generate a new one with a higher Python Version).

     

    Click on Packages.

    There the packages can be managed. Click on add Package

     

    When adding a package you can select between Pip (https://pypi.org/) or Conda.

    It's important, that once you added a new package, click on save afterwards. As validate does just check if pip can find the Name of the package. Sometimes package versions are not compatible with the installed python version. Downgrading the package versions helps most of the time.

    I was just able to install the latest version of Matplotlib (https://pypi.org/project/matplotlib/) with Python Version 3.10.8.

    If you have any further questions, feel free to ask :)

     

    Cheers!
    Lara

Content aside

  • Status Answered
  • 10 mths agoLast active
  • 2Replies
  • 50Views
  • 3 Following