Skip to content

Update Python virtual environment command to python3#1585

Open
muhdasif1 wants to merge 1 commit intogoogle:mainfrom
muhdasif1:patch-1
Open

Update Python virtual environment command to python3#1585
muhdasif1 wants to merge 1 commit intogoogle:mainfrom
muhdasif1:patch-1

Conversation

@muhdasif1
Copy link
Copy Markdown

Fix: Update virtual environment command for macOS

Summary

This pull request updates the virtual environment creation command in the documentation to ensure compatibility with macOS systems.

Issue

The current command:

python -m venv .venv

does not work in many macOS environments (especially in VS Code terminal), because python is not always mapped to Python 3.

Solution

Replace it with:

python3 -m venv .venv

Reason

On macOS, Python 3 is typically accessed using the python3 command. Using python3 ensures the virtual environment is created successfully without command not found errors.

Impact

  • Improves setup experience for macOS users
  • Reduces confusion for beginners
  • Ensures consistency across documentation

Testing

  • Verified on macOS using VS Code terminal
  • Virtual environment successfully created using updated command

@netlify
Copy link
Copy Markdown

netlify bot commented Apr 8, 2026

Deploy Preview for adk-docs-preview ready!

Name Link
🔨 Latest commit 47b26a2
🔍 Latest deploy log https://app.netlify.com/projects/adk-docs-preview/deploys/69d6d8766efdb50008dec5fc
😎 Deploy Preview https://deploy-preview-1585--adk-docs-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@google-cla
Copy link
Copy Markdown

google-cla bot commented Apr 8, 2026

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

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.

1 participant