Install¶
- Ducktape requires python 3.7 or later.
- Install cryptography (used by paramiko which Ducktape depends on), this may have non-python external requirements
OSX (if needed):
brew install opensslUbuntu:
sudo apt-get install build-essential libssl-dev libffi-dev python-devFedora and RHEL-derivatives:
sudo yum install gcc libffi-devel python-devel openssl-devel
As a general rule, it’s recommended to use an isolation tool such as
virtualenv
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