Skip to content

Python CLI not found when using pyenv #2151

Open

Description

Output from azd version
azd version 0.8.0-beta.2 (commit 429b6cc)

Describe the bug

python --version
3.9.10

azd up

Packaging services (azd package)

ERROR: required external tools are missing:
 - error checking for external tool Python CLI: checking Python CLI version: exit status 103

To Reproduce

  • On a clean machine, install pyenv for Windows
  • Install azd
  • Run azd up

Expected behavior
It should just run

Environment
Python 3.9.10 installed via pyenv-win
VSCode

Additional context
We had this same kind of problem in Autorest. Here's the issue:
Azure/autorest#4651

And the fix:
Azure/autorest#4653

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions