Skip to content

[Bug]: Pip, pip3, & python3 shims not creating #269

@BradKnowles

Description

@BradKnowles

Description

dtvem reshim doesn't create pip, pip3, python3 shims.

Steps to Reproduce

  1. Perform a user install iex "& { $(irm dtvem.io/install.ps1) } -UserInstall"
  2. Install Python dtvem install python 3.14.2
  3. Run python --version
  4. Run pip --version

Expected Behavior

I expected pip to return a version number.

Actual Behavior

❯ pip --version
Shim invoked: pip
· 22:33:59.171 Arguments: [--version]
· 22:33:59.172 Mapped to runtime: python
· 22:33:59.172 Resolved version: 3.14.2
· 22:33:59.172 Base executable path: C:\Users\Brad\.local\share\dtvem\versions\python\3.14.2\python.exe
· 22:33:59.172 Secondary executable lookup failed: secondary executable not found: pip
✗ 'pip' is not available in Python 3.14.2
→ This shim exists because another installed Python version provides it.
→ Install 'pip' for the active version, or switch to a version that has it.
dtvem shim error: pip not available in Python 3.14.2

Operating System

Windows

dtvem Version

0.6.0

Go Version (if building from source)

No response

Which runtime is affected?

Python

Error Messages / Logs

❯ pip --version
Shim invoked: pip
· 22:33:59.171 Arguments: [--version]
· 22:33:59.172 Mapped to runtime: python
· 22:33:59.172 Resolved version: 3.14.2
· 22:33:59.172 Base executable path: C:\Users\Brad\.local\share\dtvem\versions\python\3.14.2\python.exe
· 22:33:59.172 Secondary executable lookup failed: secondary executable not found: pip
✗ 'pip' is not available in Python 3.14.2
→ This shim exists because another installed Python version provides it.
→ Install 'pip' for the active version, or switch to a version that has it.
dtvem shim error: pip not available in Python 3.14.2

Configuration

N/A

Additional Context

When I run dtvem doctor I get this...

dtvem doctor

⚠ Shim-map cache is out of sync with disk  [fixable]
  On disk, missing from cache:  pip, pip3, python3
  Run `dtvem reshim` to rebuild the cache from the installed runtimes.

✓ All configured runtimes are installed
✓ Shims directory matches installed runtimes
✓ All installed runtime versions have their executable
✓ dtvem-shim binary is present
✓ dtvem shims directory is on PATH
✓ No stale dtvem shims entries in PATH
✓ No system runtimes ahead of dtvem on PATH
✓ Only one dtvem install location holds data1 non-error problem(s) found across 9 check(s)

Then I return dtvem reshim (notice no pip, pip3, or python3)

→ Regenerating shims for Python...

╭────────────────────────────╮
│       Shims Created        │
│ ────────────────────────── │
│ Runtime  Shims             │
│ ────────────────────────── │
│ Python   python, pythonw   │
╰────────────────────────────╯

✓ Created 2 shims for 1 runtime(s)

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions