Skip to content

Commit 45e49ad

Browse files
committed
DOC: change "pip" to "python3 -m pip"
1 parent 03764a8 commit 45e49ad

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,17 @@ pip/setuptools:
3333
install pip and setuptools as described on the `pip installation`_ page.
3434
If you happen to have pip but not setuptools, use this command::
3535

36-
pip install setuptools --user
36+
python3 -m pip install setuptools --user
3737

3838
CFFI:
3939
The `C Foreign Function Interface for Python`_ is used to access the C-API
4040
of the PortAudio library from within Python. It supports CPython 2.6, 2.7,
41-
3.x; and is distributed with PyPy_ 2.0 beta2 or later.
41+
3.x; and is distributed with PyPy_.
4242
If it's not installed already, you should install it with your package
43-
manager (the package might be called ``python3-cffi``, ``python-cffi`` or
44-
similar), or you can get it with::
43+
manager (the package might be called ``python3-cffi`` or similar), or you can
44+
get it with::
4545

46-
pip install cffi --user
46+
python3 -m pip install cffi --user
4747

4848
PortAudio library:
4949
The PortAudio_ library must be installed on your system (and CFFI must be
@@ -77,14 +77,14 @@ Installation
7777
Once you have installed the above-mentioned dependencies, you can use pip
7878
to download and install the latest release with a single command::
7979

80-
pip install sounddevice --user
80+
python3 -m pip install sounddevice --user
8181

8282
If you want to install it system-wide for all users (assuming you have the
8383
necessary rights), you can just drop the ``--user`` option.
8484

8585
To un-install, use::
8686

87-
pip uninstall sounddevice
87+
python3 -m pip uninstall sounddevice
8888

8989
Usage
9090
-----
@@ -206,7 +206,7 @@ but it is of course possible to choose a different device.
206206
Use `sounddevice.query_devices()` to get a list of supported devices.
207207
The same list can be obtained from a terminal by typing the command ::
208208

209-
python -m sounddevice
209+
python3 -m sounddevice
210210

211211
You can use the corresponding device ID to select a desired device by assigning
212212
to `sounddevice.default.device` or by passing it as *device* argument to

0 commit comments

Comments
 (0)