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
- Specify the directory that will serve as the build context
@@ -128,7 +128,7 @@ To create a new environment, you must use one of the following approaches:
128
128
### Missing Docker definition
129
129
*Applies to: Azure CLI & Python SDK v1 (Deprecated)*
130
130
<!--issueDescription-->
131
-
This issue can happen when your environment definition is missing a `DockerSection.` This section configures settings related to the final Docker image built from the environment specification and whether to use Docker containers to build the environment.
131
+
This issue can happen when your environment definition is missing a `DockerSection.` This section configures settings related to the final Docker image built from your environment specification.
132
132
133
133
**Potential causes:**
134
134
* The `DockerSection` of your environment definition isn't defined (null)
### Container registry credentials missing either username or password
259
259
- To access the base image in the container registry specified, you must provide both a username and password. One is missing.
260
-
-Note that providing credentials in this way is deprecated. For the current method of providing credentials, see the *secrets in base image registry* section.
260
+
-Providing credentials in this way is deprecated. For the current method of providing credentials, see the *secrets in base image registry* section.
261
261
262
262
### Multiple credentials for base image registry
263
263
- When specifying credentials for a base image registry, you must specify only one set of credentials.
@@ -275,8 +275,7 @@ to use, and set the other credentials you won't use to `null`
275
275
and credentials to authenticate to the registry, if needed.
276
276
- Historically, credentials have been specified in the environment definition. However, this method isn't secure and should be
277
277
avoided.
278
-
- Users should set credentials using workspace connections. For instructions on how to
279
-
do this, see [set_connection](https://aka.ms/azureml/environment/set-connection-v1)
278
+
- Users should set credentials using workspace connections. For instructions, see [set_connection](https://aka.ms/azureml/environment/set-connection-v1)
280
279
281
280
### Deprecated Docker attribute
282
281
- The following `DockerSection` attributes are deprecated:
@@ -430,8 +429,7 @@ The environment is built once and is reused as long as the conda dependencies re
430
429
### Missing conda channels
431
430
- If no conda channels are specified, conda will use defaults that might change
432
431
- For reproducibility of your environment, specify channels from which to pull dependencies
433
-
- See [how to manage conda channels](https://aka.ms/azureml/environment/managing-conda-channels)
434
-
for more information
432
+
- For more information, see [how to manage conda channels](https://aka.ms/azureml/environment/managing-conda-channels)
435
433
436
434
### Base conda environment not recommended
437
435
- Partial environment updates can lead to dependency conflicts and/or unexpected runtime errors,
@@ -536,18 +534,18 @@ This issue can happen when a Docker image pull fails during an image build.
536
534
537
535
**Troubleshooting steps**
538
536
539
-
If you suspect that the path name to your container registry is incorrect:
537
+
If you suspect that the path name to your container registry is incorrect
540
538
* For a registry `my-registry.io` and image `test/image` with tag `3.2`, a valid image path would be `my-registry.io/test/image:3.2`
541
539
* See [registry path documentation](https://aka.ms/azureml/environment/docker-registries)
542
540
543
-
If your container registry is behind a virtual network and is using a private endpoint in an [unsupported region](https://aka.ms/azureml/environment/private-link-availability):
541
+
If your container registry is behind a virtual network and is using a private endpoint in an [unsupported region](https://aka.ms/azureml/environment/private-link-availability)
544
542
* Configure the container registry by using the service endpoint (public access) from the portal and retry
545
543
* After you put the container registry behind a virtual network, run the [Azure Resource Manager template](https://aka.ms/azureml/environment/secure-resources-using-vnet) so the workspace can communicate with the container registry instance
546
544
547
-
If the image you're trying to reference doesn't exist in the container registry you specified:
545
+
If the image you're trying to reference doesn't exist in the container registry you specified
548
546
* Check that the correct tag is used and that `user_managed_dependencies` is set to `True`. Setting [user_managed_dependencies](https://aka.ms/azureml/environment/environment-python-section) to `True` disables conda and uses the user's installed packages
549
547
550
-
If you haven't provided credentials for a private registry you're trying to pull from, or the provided credentials are incorrect:
548
+
If you haven't provided credentials for a private registry you're trying to pull from, or the provided credentials are incorrect
551
549
* Set [workspace connections](https://aka.ms/azureml/environment/set-connection-v1) for the container registry if needed
552
550
553
551
@@ -593,7 +591,7 @@ Ensure that the conda channels/repositories you're using in your conda specifica
593
591
* Check that they exist and are spelled correctly
594
592
595
593
If the conda channels/repositories are correct
596
-
* Try to rebuild the image -- there's a chance that the failure is transient, and a rebuild might fix the issue
594
+
* Try to rebuild the image--there's a chance that the failure is transient, and a rebuild might fix the issue
597
595
* Check to make sure that the packages listed in your conda specification exist in the channels/repositories you specified
598
596
599
597
### Compile error
@@ -609,9 +607,9 @@ If the conda channels/repositories are correct
609
607
This issue can happen when conda package resolution takes too long to complete.
610
608
611
609
**Potential causes:**
612
-
* There's a large amount of packages listed in your conda specification and unnecessary packages are included
610
+
* There's a large number of packages listed in your conda specification and unnecessary packages are included
613
611
* You haven't pinned your dependencies (you included tensorflow instead of tensorflow=2.8)
614
-
* You've listed packages for which there's no solution (you included package X=1.3 and Y=2.8, but X's version is incompatible with Y's)
612
+
* You've listed packages for which there's no solution (you included package X=1.3 and Y=2.8, but X's version is incompatible with Y's version)
615
613
616
614
**Affected areas (symptoms):**
617
615
* Failure in building environments from UI, SDK, and CLI.
@@ -620,17 +618,17 @@ This issue can happen when conda package resolution takes too long to complete.
620
618
621
619
**Troubleshooting steps**
622
620
* Remove any packages from your conda specification that are unnecessary
623
-
* Pin your packages--environment resolution will be faster
621
+
* Pin your packages--environment resolution will be faster
624
622
* If you're still having issues, review this article for an in-depth look at [understanding and improving conda's performance](https://aka.ms/azureml/environment/improve-conda-performance)
625
623
626
624
### Out of memory
627
625
<!--issueDescription-->
628
626
This issue can happen when conda package resolution fails due to available memory being exhausted.
629
627
630
628
**Potential causes:**
631
-
* There's a large amount of packages listed in your conda specification and unnecessary packages are included
629
+
* There's a large number of packages listed in your conda specification and unnecessary packages are included
632
630
* You haven't pinned your dependencies (you included tensorflow instead of tensorflow=2.8)
633
-
* You've listed packages for which there's no solution (you included package X=1.3 and Y=2.8, but X's version is incompatible with Y's)
631
+
* You've listed packages for which there's no solution (you included package X=1.3 and Y=2.8, but X's version is incompatible with Y's version)
634
632
635
633
**Affected areas (symptoms):**
636
634
* Failure in building environments from UI, SDK, and CLI.
@@ -709,7 +707,7 @@ Name: my_environment
709
707
- Failed to find Python package matching a specified distribution
710
708
- Search for the distribution you're looking for and ensure it exists: [pypi](https://aka.ms/azureml/environment/pypi)
711
709
712
-
### Cannot build mpi4py
710
+
### Can't build mpi4py
713
711
- Failed to build wheel for mpi4py
714
712
- Review and update your build environment or use a different installation method
715
713
- See [mpi4py installation](https://aka.ms/azureml/environment/install-mpi4py)
@@ -744,6 +742,6 @@ without using quotes. Consider adding quotes around the package specification
744
742
- Failed to install Python packages
745
743
- Review the image build log for more information on this error
746
744
747
-
### Cannot uninstall package
745
+
### Can't uninstall package
748
746
- Pip failed to uninstall a Python package that was installed via the OS's package manager
749
747
- Consider creating a separate environment using conda instead
0 commit comments