Cannot create venv on Windows due to venvlauncher.exe and venvwlauncher.exe not being in expected folder
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 42/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- python
- 領域
- build-system
調査の方向性
The failure is in the Windows environment that relenv builds, not in the user's machine: venv expects venvlauncher.exe and venvwlauncher.exe under Lib\venv\scripts\nt, but they sit in Scripts. Start with the Windows build step that stages the Python install and copies these launchers, and compare where it places them against where venv looks. Done when a freshly built environment runs python -m venv on Windows without the 'Unable to copy' errors.
索引モデルが issue の本文から書いたものです。
説明
Running
<path_to_relenv_environment_root>\Scripts\python.exe -m venv .
breaks and yields the following errors:
PS C:\Users\user\workdir> C:\work\salt\salt-3008.3\salt-python\Scripts\python.exe -m venv .venv
Unable to copy 'C:\\work\\salt\\salt-3008.3\\salt-python\\Lib\\venv\\scripts\\nt\\venvlauncher.exe' to 'C:\\Users\\user\\workdir\\.venv\\Scripts\\python.exe'
Unable to copy 'C:\\work\\salt\\salt-3008.3\\salt-python\\Lib\\venv\\scripts\\nt\\venvwlauncher.exe' to 'C:\\Users\\user\\workdir\\.venv\\Scripts\\pythonw.exe'
The issue is that the two files, venvlauncher.exe and venvwlauncher.exe, are not in the expected directory, so the copying fails. Copying them over to Lib\\venv\\scripts\\nt from the Scripts directory fixes the issue.
Relenv version: 0.22.27
Python version: 3.14.7
OS: Windows 11 x64
- 主要言語
- Python
- スター
- 39
- フォーク
- 23
- 平均マージ
- 2日 15時間
- マージ済み PR(30日)
- 7
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
saltstack/relenv のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
documentation
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
saltstack/relenv の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
btclib-org/btclib-wallet#872 ·
メンテナーはふだん 1 日以内に返信
-
[Bug]: Scheduled returns scan all accepted minion keys causing extreme load対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンbug needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
saltstack/salt#70789 · コメント 1 件 ·
メンテナーはふだん 3 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 87/100
btclib-org/btclib#3093 ·
メンテナーはふだん 1 日以内に返信
-
good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
patrickballard/wheelgap#269 ·
-
priority: low python
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
LearningCircuit/local-deep-research#8635 ·
メンテナーはふだん 1 日以内に返信