Workaround if six is already installed. (#3320)

* Help message if build fails.

* Fix formatting.
This commit is contained in:
Joel Dudley 2018-06-07 16:13:59 +01:00 committed by GitHub
parent c474c04503
commit 9514ad6be1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,6 +22,11 @@ done by specifying the installation target on the command line:
sudo -H pip install --install-option '--install-data=/usr/local' Sphinx
sudo -H pip install --install-option '--install-data=/usr/local' sphinx_rtd_theme
.. warning:: When installing Sphinx, you may see the following error message: "Found existing installation: six 1.4.1
Cannot uninstall 'six'. It is a distutils installed project and thus we cannot accurately determine which files
belong to it which would lead to only a partial uninstall.". If so, run the install with the
``--ignore-installed six`` flag.
Build
-----