cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Joe.Catera
AppDynamics Team

The Synthetic Server relies on the Python library flake8 2.6.2 to lint synthetic scripts. When you install the Synthetic Server, the installer will use pip to install the correct version of flake8, but if you need to manually install the flake8 library and the Synthetic Server host machine does not have outbound access to the internet, you can use the following instructions to fetch and install flake8 2.6.2. Note that you will still need a machine with internet access to fetch the package.

 

  1. From a machine with internet access and pip installed:
    1. Create a directory for the flake8 library:

      mkdir ~/flake8 
    2. Download the flake8 package:

       pip download flake8==2.6.2 -d ~/flake8
    3. Zip and tar the flake8 package:

      tar cvfz flake8-2.6.2.tgz ~/flake8
    4. Copy flake8.tgz to the $HOME directory of the host machine of the Synthetic Server.

  2. From the host of the Synthetic Server that has no internet access, but does have pip installed:

    1. Unzip and extract the flake8.tgz file:

      tar xvfz flake8-2.6.2.tgz ~/flake8 
    2. Change to the flake8 directory.

    3. Install the flake8 library with pip with the following command:

      pip install flake8-2.6.2-py2.py3-none-any.whl -f ./ --no-index
Version history
Last update:
‎03-27-2019 08:15 PM
Updated by: