#!/bin/bash # Install virt env and execute python GUI P=$1 ID=$2 DIR=$3 ENV_DIR="${DIR=/tmp}"/.venv if [ -d "${ENV_DIR}" ]; then . "${ENV_DIR}"/bin/activate else python3 -m venv "${ENV_DIR}" . "${ENV_DIR}"/bin/activate pip3 install wheel pip3 install matplotlib==3. pip3 install PySide2 pyepics pyqtgraph numpy fi echo "Prefix=${P=c6025a-04}" echo "plugin id=${ID=0}" python ecmcMotionMainPyQtGraph.py ${P=c6025a-04} ${ID=0}