@@ -5,7 +5,7 @@ Installing DroneKit
55===================
66
77DroneKit-Python can be installed on a Linux, Mac OSX, or Windows computer that
8- has * Python 2.7 * and can install Python packages from the Internet.
8+ has Python 2.7 or Python 3 installed and can install Python packages from the Internet.
99
1010It is installed from **pip ** on all platforms:
1111
@@ -16,23 +16,25 @@ It is installed from **pip** on all platforms:
1616
1717 **Installation notes: **
1818
19- * Mac and Linux require you prefix the command with `` sudo ``.
19+ * Install ` dronekit ` with `pip ` inside a virtualenv:
2020
2121 .. code-block :: bash
2222
23- sudo pip install dronekit
23+ python3 -m venv .venv
24+ . .venv/bin/activate
25+ pip install dronekit
2426
2527 * On Linux you may need to first install **pip ** and **python-dev **:
2628
2729 .. code-block :: bash
2830
2931 sudo apt-get install python-pip python-dev
3032
31- Alternatively, the * easy_install * tool provides another way to install pip :
33+ Alternatively, you can use the ` ensurepip ` module to install or upgrade Pip on Python 3 :
3234
3335 .. code-block :: bash
3436
35- sudo easy_install pip
37+ python -m ensurepip --upgrade
3638
3739 * :doc: `companion-computers ` are likely to run on stripped down versions of Linux. Ensure
3840 you use a variant that supports Python 2.7 and can install Python packages from the Internet.
@@ -43,4 +45,4 @@ It is installed from **pip** on all platforms:
4345 * `WinPython 2.7 64bit <http://sourceforge.net/projects/winpython/files/WinPython_2.7/ >`_ (see
4446 `these instructions for installation and registration <https://github.com/winpython/winpython/wiki/Installation >`_). This is the most tested version.
4547 * `ActiveState ActivePython 2.7 <http://www.activestate.com/activepython/downloads >`_.
46- * Python 3 is not supported.
48+ * Python 3 is fully supported.
0 commit comments