From 5317dcc0f94ae280ad984472fe752bd11587bdf8 Mon Sep 17 00:00:00 2001 From: "Glenn K. Lockwood" Date: Sat, 27 Jun 2020 14:27:06 -0700 Subject: [PATCH] fix incompatibility between local venv and system python --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index fdd42e6..7f5fa86 100644 --- a/README.md +++ b/README.md @@ -14,14 +14,14 @@ You will need ansible installed on the Raspberry Pi being configured. This playbook relies on Ansible 2.8 or newer, which means you can no longer use `sudo apt-get install ansible`. Instead, you must - $ python3 -m venv ansible_env + $ python3 -m venv --system-site-packages ansible_env $ source ./ansible_env/bin/activate - (ansible) $ which pip + (ansible_env) $ which pip /home/pi/src/git/rpi-ansible/ansible/bin/pip - (ansible) $ pip install ansible + (ansible_env) $ sudo $(which ansible-playbook) ./local.yml ## Configuration