Commit 6ddcd891 authored by viking1304's avatar viking1304

ensure use of python from venv

parent a30b19dd
...@@ -217,6 +217,8 @@ then ...@@ -217,6 +217,8 @@ then
if [[ -f "${venv_dir}"/bin/activate ]] if [[ -f "${venv_dir}"/bin/activate ]]
then then
source "${venv_dir}"/bin/activate source "${venv_dir}"/bin/activate
# ensure use of python from venv
python_cmd="${venv_dir}"/bin/python
else else
printf "\n%s\n" "${delimiter}" printf "\n%s\n" "${delimiter}"
printf "\e[1m\e[31mERROR: Cannot activate python venv, aborting...\e[0m" printf "\e[1m\e[31mERROR: Cannot activate python venv, aborting...\e[0m"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment