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

How to install dependency-check via python pip




dependency-check - Shim to easily install OWASP dependency-check-cli into Python projects, it belongs to Classifiers:

- Intended Audience :: Information Technology
- Intended Audience :: System Administrators
- Topic :: Security
- Topic :: Software Development :: Quality Assurance

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



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_dependency-check_env

- Active the virtual environment

test_dependency-check_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_dependency-check_env

- Active the virtual environment

source test_dependency-check_env/bin/active


Step 2: OK, now, let flow below content to start the installation dependency-check

To install dependency-check on Windows(CMD):

py -m pip install dependency-check

To install dependency-check on Unix/macOs:

pip install dependency-check


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

Example:

pip install dependency-check==0.1.0


Please see the version list below table:

VersionReleased dateCommand
dependency-check 0.6.02021-06-21T14:08:06Windows:

py -m pip install dependency-check==0.6.0

Unix/macOs:

pip install dependency-check==0.6.0

dependency-check 0.5.02020-01-08T16:19:26Windows:

py -m pip install dependency-check==0.5.0

Unix/macOs:

pip install dependency-check==0.5.0

dependency-check 0.2.02017-10-09T14:39:30Windows:

py -m pip install dependency-check==0.2.0

Unix/macOs:

pip install dependency-check==0.2.0

dependency-check 0.1.02015-11-23T16:35:17Windows:

py -m pip install dependency-check==0.1.0

Unix/macOs:

pip install dependency-check==0.1.0


Step 4: Otherwise, you can install dependency-check from local archives:

Download the distribution file from dependency-check-0.6.0.zip or the specific dependency-check version in the below list of distribution

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_dependency-check_downloaded_file>

On Unix/macOs:

pip install <path_to_dependency-check_downloaded_file>


List distribution:

- dependency-check-0.1.0.zip
- dependency_check-0.1.0-py2.7.egg
- dependency_check-0.1.0-py2.py3-none-any.whl
- dependency-check-0.2.0.zip
- dependency_check-0.2.0-py2.py3-none-any.whl
- dependency-check-0.5.0.zip
- dependency_check-0.5.0-py2.py3-none-any.whl
- dependency-check-0.6.0.zip
- dependency_check-0.6.0-py2.py3-none-any.whl


Project link:

- Homepage