From d9d69f6a931c7a0a7f5652a9e20b5bcedf209d79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Henning?= <post@soeren-henning.de> Date: Tue, 12 May 2020 11:53:28 +0200 Subject: [PATCH] Add notes on python installation --- execution/README.md | 10 ++++-- execution/requirements.txt | 62 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 70 insertions(+), 2 deletions(-) create mode 100644 execution/requirements.txt diff --git a/execution/README.md b/execution/README.md index 2d7a4bd3d..e2853428c 100644 --- a/execution/README.md +++ b/execution/README.md @@ -54,10 +54,16 @@ helm install kafka-lag-exporter https://github.com/lightbend/kafka-lag-exporter/ ## Python 3.7 -For executing benchmarks and analyzing their results, a Python 3.7 installation +For executing benchmarks and analyzing their results, a **Python 3.7** installation is required. We suggest to use a virtual environment placed in the `.venv` directory. -**TODO** Show how to install requirements +As set of requirements is needed for the analysis Jupyter notebooks and the +execution tool. You can install them with the following command (make sure to +be in your virtual environment if you use one): + +```sh +pip install -r requirements.txt +``` ## Required Manual Adjustments diff --git a/execution/requirements.txt b/execution/requirements.txt new file mode 100644 index 000000000..17f29b0b1 --- /dev/null +++ b/execution/requirements.txt @@ -0,0 +1,62 @@ +attrs==19.3.0 +backcall==0.1.0 +bleach==3.1.1 +certifi==2019.11.28 +chardet==3.0.4 +cycler==0.10.0 +decorator==4.4.2 +defusedxml==0.6.0 +entrypoints==0.3 +idna==2.9 +importlib-metadata==1.5.0 +ipykernel==5.1.4 +ipython==7.13.0 +ipython-genutils==0.2.0 +ipywidgets==7.5.1 +jedi==0.16.0 +Jinja2==2.11.1 +joblib==0.14.1 +jsonschema==3.2.0 +jupyter==1.0.0 +jupyter-client==6.0.0 +jupyter-console==6.1.0 +jupyter-core==4.6.3 +kiwisolver==1.1.0 +MarkupSafe==1.1.1 +matplotlib==3.2.0 +mistune==0.8.4 +nbconvert==5.6.1 +nbformat==5.0.4 +notebook==6.0.3 +numpy==1.18.1 +pandas==1.0.1 +pandocfilters==1.4.2 +parso==0.6.2 +pexpect==4.8.0 +pickleshare==0.7.5 +prometheus-client==0.7.1 +prompt-toolkit==3.0.4 +ptyprocess==0.6.0 +Pygments==2.6.1 +pyparsing==2.4.6 +pyrsistent==0.15.7 +python-dateutil==2.8.1 +pytz==2019.3 +pyzmq==19.0.0 +qtconsole==4.7.1 +QtPy==1.9.0 +requests==2.23.0 +scikit-learn==0.22.2.post1 +scipy==1.4.1 +Send2Trash==1.5.0 +six==1.14.0 +sklearn==0.0 +terminado==0.8.3 +testpath==0.4.4 +tornado==6.0.4 +traitlets==4.3.3 +urllib3==1.25.8 +wcwidth==0.1.8 +webencodings==0.5.1 +widgetsnbextension==3.5.1 +zipp==3.1.0 -- GitLab