Skip to main content

Create Python virtual environment using MSYS2. (Windows only)

Project description

msys2_env

PyPI - Version

Create python virtual environment using MSYS2.

Install

pip install -U msys2_env
msys2_env --init

usage

msys2_env: create a msys2 env in venv. the name can be specified via --venv [name]. The creation usually takes 3-5 minutes.

provide venv-like directory:

tree directory

together with helper scripts:

  • .venv2/Scripts/Activate.ps1: powershell activation script.
  • pack_install: install msys2 packages.
  • pack_remove: remove msys2 packages.
  • bash: bash launcher.
  • fish: fish launcher.

command line help

msys2_env -h
usage: msys2_env [-h] [--init] [--venv VENV] [--wrapper]

options:
  -h, --help   show this help message and exit
  --init       download and init msys2
  --venv VENV  venv name
  --wrapper    reinstall the shell wrapper

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

msys2_env-2025.4.23.0-py3-none-win_amd64.whl (2.9 MB view details)

Uploaded Python 3Windows x86-64

File details

Details for the file msys2_env-2025.4.23.0-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for msys2_env-2025.4.23.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 e1d4d135b1b0156ffa00d8f0bf76c32ec2edbcf7f23edaf0b446e18ea76e01ce
MD5 89b8b4d63e8f2a9c5d5be8dd6eb03e98
BLAKE2b-256 728110173d08f37df04685b779aed4a547860ea164b6d37312d915d1c4a7d83d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page