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:
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
/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.
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! which pythonWe think the issue might be that the
PATHvariable has the/anaconda/envs/azureml_py38/bin//pythonset first, and then theCONDA_PREFIXlater.