diff --git a/setup.sh b/setup.sh
new file mode 100755
index 0000000000000000000000000000000000000000..a454aebb685974f8f2504604865a66ab1fd36a87
--- /dev/null
+++ b/setup.sh
@@ -0,0 +1,28 @@
+set -e
+export BASEDIR="$(cd "$(dirname ${BASH_SOURCE[0]})" ;  pwd -P)"
+cd "${BASEDIR}"
+
+# Create and source virtualenv
+if [ -e "${BASEDIR}/venv/bin/activate" ]; then
+	echo "using existing virtualenv"
+else	
+	echo "creating virtualenv ..."
+	virtualenv --python=python3 venv
+fi
+
+source venv/bin/activate
+
+# Upgrade pip and install libraries (dependencies are also installed)
+pip install --upgrade pip
+pip3 install --ignore-installed torch==1.9.1+cpu torchvision==0.10.1+cpu torchaudio==0.9.1 -f https://download.pytorch.org/whl/torch_stable.html
+
+scipy==1.7.3
+sklearn==0.0.post5
+
+
+# Install further stuff
+pip install matplotlib
+
+
+# pip freeze > requirements.txt	
+