From f8dc5047732ad1e270760c090e4172e675507371 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A5kon=20L=C3=B8vdal?= Date: Fri, 5 Apr 2019 00:47:42 +0200 Subject: [PATCH] Add example of using explicit python version --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a77a96dbe..13e326d2e 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,8 @@ you already have Python 2.7, pip and virtualenv set up on your system: 1. Checkout OctoPrint: `git clone https://github.com/foosel/OctoPrint.git` 2. Change into the OctoPrint folder: `cd OctoPrint` -3. Create a user-owned virtual environment therein: `virtualenv venv` +3. Create a user-owned virtual environment therein: `virtualenv venv` if your system default python version is + python 2.7, otherwise you need to specify the version explicitly, e.g. `virtualenv --python=python2.7 venv`. 4. Install OctoPrint *into that virtual environment*: `./venv/bin/pip install .` You may then start the OctoPrint server via `/path/to/OctoPrint/venv/bin/octoprint`, see [Usage](#usage)