Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Downloading and Installing the JET Python Client Package

    Python version 2.7 should be available in the development environment.

    To download and install the JET Python client package:

    1. Download the JET Python client package from the Juniper Networks download website at http://www.juniper.net/support/downloads/?p=jet#sw to your development machine.
    2. Go to the directory where you want to install the JET Python client package.

      This is the python-install-path.

    3. Install the JET Python client package on the development machine.

      You can install the JET Python client package in one of the following ways:

      • Use the pip install command—This is the recommended way to install the JET Python client package. For example, where jet-1.0.1.dev.tgz is the JET Python client package name:
        pip install jet-1.0.1.dev.tgz
      • Use the python setup.py install command—Use this command when the pip install command is not available.
        1. Extract files from the JET Python client package.

          For example, where jet-1.0.1.dev.tgz is the JET Python client package name:

          % tar –xvzf jet-1.0.1.dev.tgz
        2. Go to the JET Python client package directory.
          % cd jet-1.0.1.dev
        3. Issue the python setup.py install command.
          % python setup.py install

      After installing the client package, you should see the following directory structure in the python-install-path/site-packages/jnpr/jet/ directory:

    Modified: 2016-07-28