Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mention pip install --user, not sudo pip. #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1116,7 +1116,7 @@ <h3><span class="section">3.1</span> The Beauty of the Standard Library</h3>
<p>But the standard library is only the beginning. For many languages&mdash;and Python is exemplary&mdash;there&rsquo;s an enormous library of prewritten modules available for nearly instantaneous download, using &ldquo;package manager&rdquo; software. A module (or library, or package) is code that is intended to extend a language&rsquo;s capabilities.</p>
<p>Let&rsquo;s say you work for an advertising agency and need to process through 100,000 pictures and scale and sharpen them. </p>

<p>You type one command: <code>sudo pip install Pillow</code>, and the Pillow module is downloaded, compiled automatically, and placed into the correct directory for later reuse. You have to know, of course, that most modern languages have modules for image processing; you also need to know that Pillow is the most commonly used image-processing toolkit. Knowing how to find that out is part of the job of coding. You might learn it by Googling. You might ask a friend. You might get that information out of a book, or a website like The Hitchhiker&rsquo;s Guide to Python. </p>
<p>You type one command: <code>pip install --user Pillow</code>, and the Pillow module is downloaded, compiled automatically, and placed into the correct directory for later reuse. You have to know, of course, that most modern languages have modules for image processing; you also need to know that Pillow is the most commonly used image-processing toolkit. Knowing how to find that out is part of the job of coding. You might learn it by Googling. You might ask a friend. You might get that information out of a book, or a website like The Hitchhiker&rsquo;s Guide to Python. </p>

<p>A coder needs to be able to quickly examine and identify which giant, complex library is the one that&rsquo;s the most recently and actively updated and the best match for his or her current needs. A coder needs to be a good listener.</p>

Expand Down