From 971456fcc307765689704b793977340a00a6a712 Mon Sep 17 00:00:00 2001 From: rsp2k Date: Thu, 14 Oct 2021 09:34:06 -0600 Subject: [PATCH] Python virtual environment simplify for Ubuntu Use python3 native venv module, use .venv (as opposed to .env) to avoid collision with .env (environment variable) files --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b6bbeda..1d010eb 100644 --- a/README.md +++ b/README.md @@ -41,12 +41,11 @@ This ensures stale objects are removed from NetBox keeping an accurate current s ## Ubuntu 18.04 ``` -sudo apt-get install virtualenv cd /opt git clone https://github.com/bb-Ricardo/netbox-sync.git cd netbox-sync -virtualenv -p python3 .env -. .env/bin/activate +python3 -m venv .venv +. .venv/bin/activate pip3 install -r requirements.txt ```