Skip to content

Explain clearly that python / pip / other commands are not Python code #745

Open

Description

@merwok

pypa/packaging-problems#369 is the latest instance of a person trying to type python setup.py sdist or pip install something in the Python shell rather than in a system console, which is not obvious to everyone.

None of https://packaging.python.org/tutorials/packaging-projects and https://packaging.python.org/guides/distributing-packages-using-setuptools/#wheels say a word about that.

Activity

  1. pfmoore commented on Jun 20, 2020

    @pfmoore
    Member

    +1 on helping people to better understand this distinction - it's common (maybe more so on Windows?) to see people who don't understand the idea of a shell trying to work with the packaging guides, and this is foundational knowledge that we assume in a lot of places.

    I'd prefer it if we provided a brief summary plus pointers to resources that people could use to understand the concepts of shell, REPL, and interactive command line program better. Going into too much depth in the packaging documentation feels like a digression (no matter how necessary) to me.

  2. merwok commented on Jun 20, 2020

    @merwok
    MemberAuthor

    I think the ideal thing then would be to link to a section of Python Setup and Usage in the official docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions