Skip to content
This repository was archived by the owner on Nov 3, 2023. It is now read-only.
This repository was archived by the owner on Nov 3, 2023. It is now read-only.

No executable on Windows when installing via pip #73

@FichteFoll

Description

@FichteFoll

I installed pep257 0.3.2 using pip with pip install pep257, but there is noexecutable in my C:\Python33\Scripts path.

There is a Python script named pep257 (no extension) in the folder but Windows does not know run that via console. I had added .py to my PATHEXT env long ago which means entering pep257 into a shell should find it (e.g. subprocess.Popen("pep257", shell=True), so I copied the file to another one with that extension. Now my system can find the file but it fails to execute because import pep257 tries to import this very file and searches for main within, which is obviously not there.

Because of that and the shell restriction all other packages bundle an .exe that can always be found and pep257 needs one too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions