Skip to content

Automate Env mirror selection and Python venv activation#282

Draft
BernardXiong with Copilot wants to merge 6 commits into
masterfrom
copilot/update-installation-guide
Draft

Automate Env mirror selection and Python venv activation#282
BernardXiong with Copilot wants to merge 6 commits into
masterfrom
copilot/update-installation-guide

Conversation

Copilot AI commented Jul 14, 2026

Copy link
Copy Markdown

Installation no longer requires users to select a regional command. Linux and Windows detect the network region, clone from the suitable mirror, then restore repository remotes to GitHub.

  • Automatic mirror selection

    • Detect China-based IPs via ipinfo.io.
    • Use regional mirrors for installer dependencies and Env repository clones.
    • Reset cloned packages, sdk, and env remotes to GitHub.
  • Virtual environments

    • env.sh now creates and activates ~/.env/.venv on first use.
    • Installs Env dependencies inside the venv.
    • Cleans up incomplete venvs and reports setup failures.
    • Adds python3-venv to Ubuntu and SUSE prerequisites.
source ~/.env/env.sh
# Creates and activates ~/.env/.venv on first use
  • Windows setup

    • Applies automatic mirror detection to Git, pip, and Env bootstrap downloads.
    • Corrects the existing .env replacement prompt behavior.
  • Documentation

    • Removes region-specific installation commands and obsolete mirror troubleshooting.
    • Documents automatic mirror selection and first-use venv activation.

Copilot AI changed the title [WIP] Update installation guide to support automatic region detection Automate Env mirror selection and Python venv activation Jul 14, 2026
Copilot AI requested a review from BernardXiong July 14, 2026 01:04
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