From 4740613c70f224c729afa831ea7aaa62f9fc2c36 Mon Sep 17 00:00:00 2001 From: Milson Munakami Date: Tue, 22 Aug 2023 17:46:26 -0400 Subject: [PATCH] updated the doc to setup virtualenv using python3 --- CONTRIBUTING.md | 6 +++++- .../persistent-storage/object-storage.md | 3 ++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 82d127fd..1c68684c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -42,7 +42,11 @@ choose any other method to create a local virtual environment like Conda. ```sh cd nerc-docs -py -3 -m venv venv +``` + +```sh +# make sure you are able to use python or python3 or py -3 (in Windows Only) +python3 -m venv venv ``` Activate the virtual environment by running: diff --git a/docs/openstack/advanced-openstack-topics/persistent-storage/object-storage.md b/docs/openstack/advanced-openstack-topics/persistent-storage/object-storage.md index f3376363..2f38e95b 100644 --- a/docs/openstack/advanced-openstack-topics/persistent-storage/object-storage.md +++ b/docs/openstack/advanced-openstack-topics/persistent-storage/object-storage.md @@ -247,7 +247,8 @@ This is a python client for the Swift API. There's a [Python API](https://github - This example uses a `Python3` virtual environment, but you are free to choose any other method to create a local virtual environment like `Conda`. - py -3 -m venv venv + # make sure you are able to use python or python3 or py -3 (in Windows Only) + python3 -m venv venv - Activate the virtual environment by running: