You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-functions/functions-create-first-azure-function-azure-cli.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ Before you begin, you must have the following:
26
26
::: zone-end
27
27
28
28
::: zone pivot="programming-language-python"
29
-
+[Python 3.7](https://www.python.org/downloads/release/python-375/) or [Python 3.6](https://www.python.org/downloads/release/python-368/), which are supported by Azure Functions. Python 3.8 and later versions aren't yet supported.
29
+
+[Python 3.8](https://www.python.org/downloads/release/python-382/), [Python 3.7](https://www.python.org/downloads/release/python-375/), [Python 3.6](https://www.python.org/downloads/release/python-368/), which are supported by Azure Functions.
@@ -46,11 +46,11 @@ Before you begin, you must have the following:
46
46
+ Run `node --version` to check your Node.js version reports 8.x or 10.x.
47
47
::: zone-end
48
48
::: zone pivot="programming-language-python"
49
-
+ Run `python --version` (Linux/MacOS) or `py --version` (Windows) to check your Python version reports 3.7.x or 3.6.x.
49
+
+ Run `python --version` (Linux/MacOS) or `py --version` (Windows) to check your Python version reports 3.8.x, 3.7.x or 3.6.x.
50
50
51
51
## <aname="create-venv"></a>Create and activate a virtual environment
52
52
53
-
In a suitable folder, run the following commands to create and activate a virtual environment named `.venv`. Be sure to use Python 3.7 or 3.6, which are supported by Azure Functions.
53
+
In a suitable folder, run the following commands to create and activate a virtual environment named `.venv`. Be sure to use Python 3.8, 3.7 or 3.6, which are supported by Azure Functions.
54
54
55
55
56
56
# [bash](#tab/bash)
@@ -266,7 +266,9 @@ Use the following Azure CLI commands to create these items. Each command provide
266
266
1. Create the Functions app using the [az functionapp create](/cli/azure/functionapp#az-functionapp-create) command. In the following example, replace `<STORAGE_NAME>` with the name of the account you used in the previous step, and replace `<APP_NAME>` with a globally unique name appropriate to you. The `<APP_NAME>` is also the default DNS domain for the function app.
267
267
268
268
::: zone pivot="programming-language-python"
269
-
If you are using Python 3.6, also change `--runtime-version` to `3.6`.
269
+
If you are using Python 3.8, change `--runtime-version` to `3.8` and `--functions_version` to `3`
270
+
271
+
If you are using Python 3.6, change `--runtime-version` to `3.6`.
270
272
271
273
```azurecli
272
274
az functionapp create --resource-group AzureFunctionsQuickstart-rg --os-type Linux --consumption-plan-location westeurope --runtime python --runtime-version 3.7 --functions_version 2 --name <APP_NAME> --storage-account <STORAGE_NAME>
0 commit comments