use module instead of installed bin
This commit is contained in:
parent
ee65544031
commit
c5e9067d59
1 changed files with 1 additions and 2 deletions
|
@ -12,8 +12,7 @@ E="${normal}"
|
||||||
if [ ! -d "venv" ]; then
|
if [ ! -d "venv" ]; then
|
||||||
PYTHON_VERSION=$(cat .python-version)
|
PYTHON_VERSION=$(cat .python-version)
|
||||||
echo -e "${B} No venv found, creating a new one with version ${PYTHON_VERSION} ${E}"
|
echo -e "${B} No venv found, creating a new one with version ${PYTHON_VERSION} ${E}"
|
||||||
pip install virtualenv
|
python3 -m virtualenv -p $PYTHON_VERSION venv
|
||||||
virtualenv -p $PYTHON_VERSION venv
|
|
||||||
fi
|
fi
|
||||||
source venv/bin/activate
|
source venv/bin/activate
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue