summaryrefslogtreecommitdiff
path: root/INSTALL.rst
diff options
context:
space:
mode:
authorGiampaolo Rodola <g.rodola@gmail.com>2017-04-26 19:23:23 +0200
committerGiampaolo Rodola <g.rodola@gmail.com>2017-04-26 19:23:23 +0200
commit936a9194783f79e796519a80f5b088c01a767df4 (patch)
treec811c93bdf20e9714467faa7d11d07b5c0b29b47 /INSTALL.rst
parent28d2add3a4e490ff0014a9fcf4e6aa134f043d43 (diff)
downloadpsutil-936a9194783f79e796519a80f5b088c01a767df4.tar.gz
update INSTALL instructions
Diffstat (limited to 'INSTALL.rst')
-rw-r--r--INSTALL.rst30
1 files changed, 16 insertions, 14 deletions
diff --git a/INSTALL.rst b/INSTALL.rst
index d86c022c..9999eccf 100644
--- a/INSTALL.rst
+++ b/INSTALL.rst
@@ -1,19 +1,21 @@
-PIP
-===
+Install pip
+===========
pip is the easiest way to install psutil.
-It is shipped by default with Python 2.7.9+ and 3.4+. If you're using an
-older Python version `install pip <https://pip.pypa.io/en/latest/installing/>`__
-first.
-If you GIT cloned psutil source code you can also install pip and/or upgrade
-it to latest version with::
-
- make install-pip
-
-Unless you're on Windows, in order to install psutil with pip you'll also need
-a C compiler installed (e.g. gcc).
-pip will retrieve psutil source code or binaries from
-`PYPI <https://pypi.python.org/pypi/psutil>`__ repository.
+It is shipped by default with Python 2.7.9+ and 3.4+. For other Python versions
+you can install it manually.
+On Linux or via wget::
+
+ wget https://bootstrap.pypa.io/get-pip.py -O - | python
+
+On OSX or via curl::
+
+ python < <(curl -s https://bootstrap.pypa.io/get-pip.py)
+
+On Windows, `download pip <https://pip.pypa.io/en/latest/installing/>`, open
+cmd.exe and install it::
+
+ C:\Python27\python.exe get-pip.py
Permission issues (UNIX)
========================