Skip to content

Commit

Permalink
Remove section on installing modules to avoid duplication
Browse files Browse the repository at this point in the history
The info about installing required modules is usually included in the
README of a project, and the information is usually written in terms
of using a `requirements.txt` file.  I think it's better not to have
another set of instructions in this file, especially since it's not
actually about installing Python per se.
  • Loading branch information
mhucka committed Jun 5, 2021
1 parent e1aba26 commit 6fb94ba
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions INSTALL-Python3.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,3 @@ brew install python3
```

HomeBrew's Python 3 package installs `pip3` by default. Unless you configured your copy of HomeBrew to install it elsewhere, programs should end up in `/usr/local/bin` on your computer. Look for `pip3` there (e.g., by running the command `ls /usr/local/bin/pip*` to see what gets listed).


## Installing Python modules

Often you'll need some additional modules to be installed in your Python development environment, so that you can refer to them in your Python programs using the `import` statement. To make sure you get the desired Python and `pip`, you can use the `-m` interpreter option to install the desired module using a command with the following form:

```shell
python3 -m pip install MODULENAME
```

where `MODULENAME` is the name of the module you need to install.

0 comments on commit 6fb94ba

Please sign in to comment.