Skip to content

Fix python commands in 03-GettingStarted/07-aitk #226

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kakakakakku
Copy link
Contributor

Purpose

Describe the intention of the changes being proposed. What problem does it solve or functionality does it add?

Hi😀 Thanks for the useful tutorial!
The purpose of this change is to fix wrong python commands in the 03-GettingStarted/07-aitk section.

See inline comments.
Thank you👍

Does this introduce a breaking change?

When developers merge from main and run the server, azd up, or azd deploy, will this produce an error?
If you're not sure, try it out on an old environment.

[ ] Yes
[x] No

Does this require changes to learn.microsoft.com docs or modules?

which includes deployment, settings and usage instructions.

[ ] Yes
[x] No

Type of change

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[x] Documentation content changes
[ ] Other... Please describe:

@Copilot Copilot AI review requested due to automatic review settings July 14, 2025 22:54
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes the Python setup commands in the 03-GettingStarted/07-aitk tutorial by correcting the virtual environment activation path on macOS/Linux and properly quoting the pip extras install.

  • Update macOS/Linux venv activation to use .venv folder
  • Quote the extras specifier in pip install -e '.[dev]'

1. macOS/Linux - `source venv/bin/activate`
1. Using the terminal, install the dependencies: `pip install -e .[dev]`
1. macOS/Linux - `source .venv/bin/activate`
1. Using the terminal, install the dependencies: `pip install -e '.[dev]'`
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note: I get the following error in my macOS.

$ pip install -e .[dev]
zsh: no matches found: .[dev]

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the feedback! I'm going to validate and will follow up once complete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants