Online Help

This help article applies to CloudShell 9.3. To see the latest, click here.

You are here: CloudShell Administration > CloudShell Execution Server Configurations > Setting Up Python Virtual Environments > Updating Python Dependencies for Shells, Drivers and Scripts

Updating Python Dependencies for Shells, Drivers and Scripts

This article explains how to update your local PyPi Server repository. This is required when you upgrade a Shell, driver or script that has new/updated dependencies. It applies to both online and offline dependencies.

Updating offline Python dependencies

To update offline Python dependencies:

  1. Download the latest Python dependencies package zip file locally and extract the zip file to the local PyPi Server repository. See Configuring CloudShell to Execute Python Commands in Offline Mode.
  2. Restart any execution server that has a live instance of the relevant driver or script. This requires running the Execution Server's configuration wizard - see the CloudShell Suite Installation Guide.

Updating online Python dependencies

In online mode, the PyPi Server process automatically downloads and extracts the appropriate dependencies file to the driver or script's virtual environment every time a new instance of the driver or script is created.

To update online Python dependencies:

  • If there is a live instance of the driver or script, restart the execution server to delete the instance, as explained above. The next time a command of the driver or script is executed, PyPi Server will download the Python dependencies.

Related Topics