From fa9bfa4687e5c434a36982f31756b0b919729ffb Mon Sep 17 00:00:00 2001 From: SudKul <48475411+SudKul@users.noreply.github.com> Date: Mon, 8 Nov 2021 12:57:51 +0530 Subject: [PATCH] Use Python 3.7 --- project-ml-microservice-kubernetes/README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/project-ml-microservice-kubernetes/README.md b/project-ml-microservice-kubernetes/README.md index 0442ec938..a5bd8fee6 100644 --- a/project-ml-microservice-kubernetes/README.md +++ b/project-ml-microservice-kubernetes/README.md @@ -25,7 +25,15 @@ You can find a detailed [project rubric, here](https://review.udacity.com/#!/rub ## Setup the Environment -* Create a virtualenv and activate it +* Create a virtualenv with Python 3.7 and activate it. Refer to this link for help on specifying the Python version in the virtualenv. +```bash +python3 -m pip install --user virtualenv +# You should have Python 3.7 available in your host. +# Check the Python path using `which python3` +# Use a command similar to this one: +python3 -m virtualenv --python= .devops +source .devops/bin/activate +``` * Run `make install` to install the necessary dependencies ### Running `app.py`