microsoft / azure-pipelines-agent

Azure Pipelines Agent 🚀
MIT License
1.72k stars 864 forks source link

Conda environment for macOS(Hosted macOS Preview) and Windows (Hosted) #1662

Closed guolinke closed 6 years ago

guolinke commented 6 years ago

it seems both "Hosted macOS Preview" and "Hosted" agents didn't support conda:

2018-06-30T00:55:14.1692970Z ##[section]Starting: CondaEnvironment
2018-06-30T00:55:14.1897031Z ==============================================================================
2018-06-30T00:55:14.1897301Z Task         : Conda Environment
2018-06-30T00:55:14.1897495Z Description  : Create and activate a Conda environment.
2018-06-30T00:55:14.1897690Z Version      : 0.135.0
2018-06-30T00:55:14.1897859Z Author       : Microsoft Corporation
2018-06-30T00:55:14.1898078Z Help         : [More information](https://go.microsoft.com/fwlink/?linkid=873466)
2018-06-30T00:55:14.1898315Z ==============================================================================
2018-06-30T00:55:14.9206030Z ##[error]The `conda` executable was not found on the system. Ask your administrator to install Miniconda or Anaconda. Then add the `conda` executable to `PATH` or set the `CONDA` environment variable to the root of the installation.
2018-06-30T00:55:14.9216983Z ##[error]The `conda` executable was not found on the system. Ask your administrator to install Miniconda or Anaconda. Then add the `conda` executable to `PATH` or set the `CONDA` environment variable to the root of the installation.
2018-06-30T00:55:14.9234606Z ##[section]Finishing: CondaEnvironment
TingluoHuang commented 6 years ago

@guolinke please log an issue in the following repro.

guolinke commented 6 years ago

Thanks so much