diff --git a/{{ cookiecutter.repo_name }}/Makefile b/{{ cookiecutter.repo_name }}/Makefile index 3d8e11a..12f59b3 100644 --- a/{{ cookiecutter.repo_name }}/Makefile +++ b/{{ cookiecutter.repo_name }}/Makefile @@ -22,8 +22,8 @@ endif ## Install Python Dependencies requirements: test_environment - pip install -U pip setuptools wheel - pip install -r requirements.txt + $(PYTHON_INTERPRETER) -m pip install -U pip setuptools wheel + $(PYTHON_INTERPRETER) -m pip install -r requirements.txt ## Make Dataset data: requirements @@ -65,7 +65,7 @@ else endif @echo ">>> New conda env created. Activate with:\nsource activate $(PROJECT_NAME)" else - @pip install -q virtualenv virtualenvwrapper + $(PYTHON_INTERPRETER) -m pip install -q virtualenv virtualenvwrapper @echo ">>> Installing virtualenvwrapper if not already intalled.\nMake sure the following lines are in shell startup file\n\ export WORKON_HOME=$$HOME/.virtualenvs\nexport PROJECT_HOME=$$HOME/Devel\nsource /usr/local/bin/virtualenvwrapper.sh\n" @bash -c "source `which virtualenvwrapper.sh`;mkvirtualenv $(PROJECT_NAME) --python=$(PYTHON_INTERPRETER)"