Skip to content

hatch command causes: Magic number 'UVSC' or 'UVPY' not found #1957

@magrosso

Description

@magrosso

I keep getting this error when inside the hatch default environment when issuing any hatch command, e.g. "hatch version"

Outside hatch environment, I don't get the error.

Magic number 'UVSC' or 'UVPY' not found at the end of the file. Did you append the magic number, the length and the path to the python executable at the end of the file?

I installed latest hatch on Windows 11 using MSI file.

I already deleted:

  • all other hatch executables except the one in Program Files
  • all pyc files in pycache folders

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions