I installed sphinx in my Centos machine, it's showing it has installed the latest sphinx version which is 4.3.0 but while running "sphinx-quickstart" or checking for "sphinx-build --version", it's showing version 1.1.3.
It's showing a version mismatch. Pls, let me know how to solve this and remove the version mismatch.
Logs-
[<...> docs]$ sphinx-build --version
Sphinx v1.1.3
[<...> docs]$ pip show sphinx
Name: Sphinx
Version: 4.3.1
Summary: Python documentation generator
Home-page: https://www.sphinx-doc.org/
Author: Georg Brandl
Author-email: georg@python.org
License: BSD
Location: </.../>.local/lib/python3.6/site-packages
Requires: alabaster, babel, docutils, imagesize, Jinja2, packaging, Pygments, requests, setuptools, snowballstemmer, sphinxcontrib-applehelp, sphinxcontrib-devhelp, sphinxcontrib-htmlhelp, sphinxcontrib-jsmath, sphinxcontrib-qthelp, sphinxcontrib-serializinghtml
[<...> docs]$ sphinx-quickstart
Welcome to the Sphinx 1.1.3 quickstart utility.
I have another Linux machine where I install sphinx earlier, it's showing the correct sphinx version and build version.
logs-
[<...> docs]$ pip show sphinx
Name: Sphinx
Version: 4.2.0
Summary: Python documentation generator
Home-page: https://www.sphinx-doc.org/
Author: Georg Brandl
Author-email: georg@python.org
License: BSD
Location: <...>/.local/lib/python3.6/site-packages
Requires: sphinxcontrib-jsmath, sphinxcontrib-htmlhelp, requests, babel, packaging, sphinxcontrib-serializinghtml, sphinxcontrib-qthelp, Jinja2, Pygments, snowballstemmer, alabaster, docutils, setuptools, sphinxcontrib-applehelp, imagesize, sphinxcontrib-devhelp
Required-by: sphinxcontrib-confluencebuilder, rinohtype, recommonmark
[<...> docs]$ sphinx-build --version
sphinx-build 4.2.0