Skip to content

Commit 70e0376

Browse files
committed
Add virtual environment for bash
1 parent 0c3e8d9 commit 70e0376

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

4-azure-functions-python/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ If you are at an event, run the following command on the CLI:
88

99
```powershell
1010
docker run --rm -v ${PWD}:/pwd/ -w /pwd/ -p 7071:7071 -it aaronmsft/azure-functions-core-tools:latest bash
11+
# create a virtual environment
12+
python3.6 -m venv env
13+
. env/bin/activate
1114
```
1215

1316
Create a directory for the sample code and `cd` into it:
@@ -30,6 +33,7 @@ Initialize a new Azure Functions App project.
3033
func init prime_calculator
3134
```
3235

36+
<!-- does not show in bash -->
3337
Highlight `python (preview)` with the arrow keys in the list of worker runtimes, press `Enter` to select. You should see output resembling:
3438

3539
``` powershell

0 commit comments

Comments
 (0)