When you know about this project and you want to new install sphinxcontrib-swagger2sphinx to support your project or you get trouble as ModuleNotFoundError: No module named "sphinxcontrib-swagger2sphinx" or ImportError: cannot import name "sphinxcontrib-swagger2sphinx" in your project, let follow this tutorial to install sphinxcontrib-swagger2sphinx
In Windows (CMD):
py -m pip --version
In Unix/macOS:
python3 -m pip --version
Ensure pip, setuptools, and wheel are up to date:
In Windows (CMD):
py -m pip install --upgrade pip setuptools wheel
In Unix/macOS:
python3 -m pip install --upgrade pip setuptools wheel
Optional - If you want to install
In Windows (CMD):
- Install virtualenv - if you installed it, please ignore
py -m pip install --user virtualenv
- Create a virtual environment
py -m venv test_sphinxcontrib-swagger2sphinx_env
- Active the virtual environment
test_sphinxcontrib-swagger2sphinx_env\Scripts\active
In Unix/macOS:
- Install virtualenv - if you installed it, please ignore
pip3 install virtualenv
- Create a virtual environment
python3 -m venv test_sphinxcontrib-swagger2sphinx_env
- Active the virtual environment
source test_sphinxcontrib-swagger2sphinx_env/bin/active
To install sphinxcontrib-swagger2sphinx on Windows(CMD):
py -m pip install sphinxcontrib-swagger2sphinx
To install sphinxcontrib-swagger2sphinx on Unix/macOs:
pip install sphinxcontrib-swagger2sphinx
Example:
pip install sphinxcontrib-swagger2sphinx==0.1.0
Please see the version list below table:
Version | Released date | Command |
---|---|---|
sphinxcontrib-swagger2sphinx 0.1.4 | 2016-10-07T05:25:49 | Windows: Unix/macOs:
|
sphinxcontrib-swagger2sphinx 0.1.3 | 2016-10-04T08:31:32 | Windows: Unix/macOs:
|
sphinxcontrib-swagger2sphinx 0.1.2 | 2016-09-30T11:48:07 | Windows: Unix/macOs:
|
sphinxcontrib-swagger2sphinx 0.1.1 | 2016-09-28T13:00:52 | Windows: Unix/macOs:
|
sphinxcontrib-swagger2sphinx 0.1.0 | 2016-09-28T12:54:36 | Windows: Unix/macOs:
|
Download the distribution file from sphinxcontrib_swagger2sphinx-0.1.4-py3-none-any.whl or the specific sphinxcontrib-swagger2sphinx version in the below list of distribution
After that, install by command:
On Windows(CMD):
py -m pip install <path_to_sphinxcontrib-swagger2sphinx_downloaded_file>
On Unix/macOs:
pip install <path_to_sphinxcontrib-swagger2sphinx_downloaded_file>
List distribution:
Project link: