Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy
 

How to install docstring-inheritance via python pip




docstring-inheritance - Avoid writing and maintaining duplicated docstrings., it belongs to Classifiers:

- Operating System :: MacOS
- Operating System :: Microsoft
- Operating System :: Microsoft :: Windows
- Operating System :: POSIX :: Linux
- Programming Language :: Python :: 3 :: Only

When you know about this project and you want to new install docstring-inheritance to support your project or you get trouble as ModuleNotFoundError: No module named "docstring-inheritance" or ImportError: cannot import name "docstring-inheritance" in your project, let follow this tutorial to install docstring-inheritance



Installation:

Step 1: First, ensure you installed pip in your os, to check pip has been installed on your computer

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 virtual environment:

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_docstring-inheritance_env

- Active the virtual environment

test_docstring-inheritance_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_docstring-inheritance_env

- Active the virtual environment

source test_docstring-inheritance_env/bin/active


Step 2: OK, now, let flow below content to start the installation docstring-inheritance

To install docstring-inheritance on Windows(CMD):

py -m pip install docstring-inheritance

To install docstring-inheritance on Unix/macOs:

pip install docstring-inheritance


Step 3: If you want to install a specific docstring-inheritance version, add ==<docstring-inheritance version> to the end command line

Example:

pip install docstring-inheritance==0.1


Please see the version list below table:

VersionReleased dateCommand
docstring-inheritance 1.0.02021-11-08T22:34:46Windows:

py -m pip install docstring-inheritance==1.0.0

Unix/macOs:

pip install docstring-inheritance==1.0.0

docstring-inheritance 0.12021-11-05T22:24:05Windows:

py -m pip install docstring-inheritance==0.1

Unix/macOs:

pip install docstring-inheritance==0.1


Step 4: Otherwise, you can install docstring-inheritance from local archives:

Download the distribution file from docstring-inheritance-1.0.0.tar.gz or the specific docstring-inheritance version in the below list of distribution

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_docstring-inheritance_downloaded_file>

On Unix/macOs:

pip install <path_to_docstring-inheritance_downloaded_file>


List distribution:

- docstring_inheritance-0.1-py3-none-any.whl (python version <3.11,>=3.6)
- docstring-inheritance-1.0.0.tar.gz (python version <3.11,>=3.6)
- docstring_inheritance-1.0.0-py3-none-any.whl (python version <3.11,>=3.6)
- docstring-inheritance-1.0.1.tar.gz (python version <3.12,>=3.7)
- docstring_inheritance-1.0.1-py3-none-any.whl (python version <3.12,>=3.7)


Project link:

- Homepage
- Documentation
- Source
- Tracker