Hi,
I have a 1es hosted pool with RHEL 8, and I installed python under /opt/hostedtoolscache, currently I need to run UsePythonVersion@0 job with the override AGENT_TOOLSDIRECTORY as instructed.
Here is my job:
- task: UsePythonVersion@0
name: UsePythonVersion
displayName: Use Python 3.x
env:
AGENT_TOOLSDIRECTORY: /opt/hostedtoolscache
But it still complaining under the default tool directory:
##[error]Version spec 3.x for architecture x64 did not match any version in Agent.ToolsDirectory.
Versions in /mnt/vss/_work/_tool:
How should I override the AGENT_TOOLSDIRECTORY environment variable? Thanks.
Hi,
I have a 1es hosted pool with RHEL 8, and I installed python under /opt/hostedtoolscache, currently I need to run
UsePythonVersion@0job with the override AGENT_TOOLSDIRECTORY as instructed.Here is my job:
But it still complaining under the default tool directory:
How should I override the AGENT_TOOLSDIRECTORY environment variable? Thanks.