Skip to content

Commit 763791e

Browse files
Merge pull request #3412 from Blackmist/402357-fresh
updating/freshness
2 parents 24c6a2c + 3ecb2b3 commit 763791e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/machine-learning/v1/how-to-prebuilt-docker-images-inference-python-extensibility.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.service: azure-machine-learning
77
ms.subservice: inferencing
88
ms.author: larryfr
99
author: Blackmist
10-
ms.date: 08/15/2022
10+
ms.date: 03/07/2025
1111
ms.topic: how-to
1212
ms.reviewer: sehan
1313
ms.custom: UpdateFrequency5, deploy, docker, prebuilt, sdkv1, devx-track-python
@@ -84,13 +84,13 @@ This approach mounts a directory that you provide into the image. The Python pac
8484
To extend your prebuilt docker container image through pre-installed Python packages, follow these steps:
8585

8686
> [!IMPORTANT]
87-
> You must use packages compatible with Python 3.7. All current images are pinned to Python 3.7.
87+
> You must use packages compatible with Python 3.8 or 3.8, depending on the image you use.
8888
8989
1. Create a virtual environment using [virtualenv](https://virtualenv.pypa.io/).
9090

9191
1. Install your Dependencies. If you have a list of dependencies in a `requirements.txt`, for example, you can use that to install with `pip install -r requirements.txt` or just `pip install` individual dependencies.
9292

93-
1. When you specify the `AZUREML_EXTRA_PYTHON_LIB_PATH` environment variable, make sure that you point to the correct site packages directory, which will vary depending on your environment name and Python version. The following code demonstrates setting the path for a virtual environment named `myenv` and Python 3.7:
93+
1. When you specify the `AZUREML_EXTRA_PYTHON_LIB_PATH` environment variable, make sure that you point to the correct site packages directory, which will vary depending on your environment name and Python version. The following code demonstrates setting the path for a virtual environment named `myenv` and Python 3.8:
9494

9595

9696
```python
@@ -103,7 +103,7 @@ To extend your prebuilt docker container image through pre-installed Python pack
103103
myenv.python.user_managed_dependencies = True
104104

105105
myenv.environment_variables = {
106-
"AZUREML_EXTRA_PYTHON_LIB_PATH": "myenv/lib/python3.7/site-packages"
106+
"AZUREML_EXTRA_PYTHON_LIB_PATH": "myenv/lib/python3.8/site-packages"
107107
}
108108
```
109109

0 commit comments

Comments
 (0)