Installing the Requests library

Encryption License Key User Guide for VSP One Block

Version
10.2.x
Audience
anonymous
Part Number
MK-23VSP1B010-00

You can use either online installation or offline installation to install the Requests library.

Online installation:

  1. When installing the Requests library in a proxy environment, open the command prompt and execute the following command:
    set https_proxy = proxy server address: proxy server port

    If you are not using a proxy environment, skip this step.

  2. Execute the following command at the command prompt:
    pip install requests

Offline installation:

  1. Download the latest version of requests-X.XX.XX-py3- none-any.whl from the Requests library download page: https://pypi.org/project/requests/#files
  2. Copy the downloaded installation file to a folder in the offline environment using storage media.
  3. Open the command prompt, navigate to the folder of the copied installation file, and execute the following command. The X in the command should be the same as the downloaded .whl file.
    pip install requests-X.XX.XX-py3-none-any.whl