Skip to content

Latest commit

 

History

History
40 lines (21 loc) · 1.01 KB

install.rst

File metadata and controls

40 lines (21 loc) · 1.01 KB

Install

  1. Ducktape requires python 3.7 or later.
  2. Install cryptography (used by paramiko which Ducktape depends on), this may have non-python external requirements

    • OSX (if needed):

      brew install openssl
    • Ubuntu:

      sudo apt-get install build-essential libssl-dev libffi-dev python-dev
    • Fedora and RHEL-derivatives:

      sudo yum install gcc libffi-devel python-devel openssl-devel
  3. As a general rule, it's recommended to use an isolation tool such as virtualenv
  4. Install Ducktape:

    pip install ducktape

Note

On OSX you may need to:

C_INCLUDE_PATH=/usr/local/opt/openssl/include LIBRARY_PATH=/usr/local/opt/openssl/lib pip install ducktape

If you are not using a virtualenv and get the error message failed with error code 1, you may need to install ducktape to your user directory instead with :

pip install --user ducktape