From 1b434b40d2d743f98c8db2b45e1e0aec93dbc2ab Mon Sep 17 00:00:00 2001 From: ligi Date: Fri, 17 May 2019 19:32:32 +0200 Subject: [PATCH 1/2] Add external dependency python-venv otherwise in the next step I get ``` $ python3 -m venv env The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command. apt-get install python3-venv ``` --- doc/development/setup.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/development/setup.rst b/doc/development/setup.rst index 028a10c1f4..c738f79ddf 100644 --- a/doc/development/setup.rst +++ b/doc/development/setup.rst @@ -21,6 +21,7 @@ Your should install the following on your system: * Python 3.5 or newer * ``pip`` for Python 3 (Debian package: ``python3-pip``) * ``python-dev`` for Python 3 (Debian package: ``python3-dev``) +* ``python-venv`` for Python 3 (Debian package: ``python3-venv``) * ``libffi`` (Debian package: ``libffi-dev``) * ``libssl`` (Debian package: ``libssl-dev``) * ``libxml2`` (Debian package ``libxml2-dev``) From aa186f7a09e3f9ca58f68211c71cda28e87f27db Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Sun, 19 May 2019 13:02:05 +0200 Subject: [PATCH 2/2] Update setup.rst --- doc/development/setup.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/development/setup.rst b/doc/development/setup.rst index c738f79ddf..001020ea4b 100644 --- a/doc/development/setup.rst +++ b/doc/development/setup.rst @@ -21,7 +21,7 @@ Your should install the following on your system: * Python 3.5 or newer * ``pip`` for Python 3 (Debian package: ``python3-pip``) * ``python-dev`` for Python 3 (Debian package: ``python3-dev``) -* ``python-venv`` for Python 3 (Debian package: ``python3-venv``) +* On Debian/Ubuntu: ``python-venv`` for Python 3 (Debian package: ``python3-venv``) * ``libffi`` (Debian package: ``libffi-dev``) * ``libssl`` (Debian package: ``libssl-dev``) * ``libxml2`` (Debian package ``libxml2-dev``)