Skip to content

install-pdm.py error: No pyvenv.cfg file #2317

@eight04

Description

@eight04
  • I have searched the issue tracker and believe that this is not a duplicate.

Make sure you run commands with -v flag before pasting the output.

Steps to reproduce

1, Download https://pdm.fming.dev/install-pdm.py
2. Run python install-pdm.py

Actual behavior

C:\Users\eight04\Downloads>python install-pdm.py
Installing PDM (2.9.3): Creating virtual environment
Actual environment location may have moved due to redirects, links or junctions.
  Requested location: "C:\Users\eight04\AppData\Roaming\pdm\venv\Scripts\python.exe"
  Actual location:    "C:\Users\eight04\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\Roaming\pdm\venv\Scripts\python.exe"
Installing PDM (2.9.3): Installing PDM and dependencies
An error occurred when executing ['C:\\Users\\eight04\\AppData\\Roaming\\pdm\\venv\\Scripts\\python.exe', '-m', 'ensurepip']:
No pyvenv.cfg file

An error occurred when executing ['C:\\Users\\eight04\\AppData\\Roaming\\pdm\\venv\\Scripts\\python.exe', '-m', 'pip', 'install', '-IU', 'pip']:
No pyvenv.cfg file

Expected behavior

Install pdm

Environment Information

Windows 10
Python 3.10 from MS Store

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions