Skip to content

Broken AzureML startup script #711

Description

@ncclementi

The script in https://docs.rapids.ai/deployment/nightly/cloud/azure/azureml/#provision-rapids-setup-script creates a situation in azure ML where we end up with the wrong python path. In the notebook:

!conda info
   active environment : rapids
    active env location : /anaconda/envs/rapids
       user config file : /home/azureuser/.condarc
 populated config files : /anaconda/.condarc
                          /anaconda/condarc.d/anaconda-auth.yml
          conda version : 25.11.1
    conda-build version : not installed
         python version : 3.13.11.final.0
! which python
/anaconda/envs/azureml_py38/bin//python 
import cudf
cudf.__file__
'/anaconda/envs/rapids/lib/python3.13/site-packages/cudf/__init__.py'

We think the issue might be that the PATH variable has the /anaconda/envs/azureml_py38/bin//python set first, and then the CONDA_PREFIX later.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions