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

How to install git-filter-repo via python pip




git-filter-repo - Quickly rewrite git repository history, it belongs to Classifiers:

- Programming Language :: Python :: Implementation
- Programming Language :: Python :: Implementation :: CPython
- Programming Language :: Python :: Implementation :: PyPy

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



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_git-filter-repo_env

- Active the virtual environment

test_git-filter-repo_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_git-filter-repo_env

- Active the virtual environment

source test_git-filter-repo_env/bin/active


Step 2: OK, now, let flow below content to start the installation git-filter-repo

To install git-filter-repo on Windows(CMD):

py -m pip install git-filter-repo

To install git-filter-repo on Unix/macOs:

pip install git-filter-repo


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

Example:

pip install git-filter-repo==2.23.0


Please see the version list below table:

VersionReleased dateCommand
git-filter-repo 2.34.02021-11-15T22:57:34Windows:

py -m pip install git-filter-repo==2.34.0

Unix/macOs:

pip install git-filter-repo==2.34.0

git-filter-repo 2.33.02021-08-20T17:12:58Windows:

py -m pip install git-filter-repo==2.33.0

Unix/macOs:

pip install git-filter-repo==2.33.0

git-filter-repo 2.32.02021-06-07T16:35:35Windows:

py -m pip install git-filter-repo==2.32.0

Unix/macOs:

pip install git-filter-repo==2.32.0

git-filter-repo 2.29.02020-10-19T19:13:12Windows:

py -m pip install git-filter-repo==2.29.0

Unix/macOs:

pip install git-filter-repo==2.29.0

git-filter-repo 2.28.02020-07-27T18:07:29Windows:

py -m pip install git-filter-repo==2.28.0

Unix/macOs:

pip install git-filter-repo==2.28.0

git-filter-repo 2.27.12020-06-14T06:29:29Windows:

py -m pip install git-filter-repo==2.27.1

Unix/macOs:

pip install git-filter-repo==2.27.1

git-filter-repo 2.27.02020-06-01T16:59:55Windows:

py -m pip install git-filter-repo==2.27.0

Unix/macOs:

pip install git-filter-repo==2.27.0

git-filter-repo 2.26.02020-03-23T22:58:17Windows:

py -m pip install git-filter-repo==2.26.0

Unix/macOs:

pip install git-filter-repo==2.26.0

git-filter-repo 2.25.02020-01-13T20:06:33Windows:

py -m pip install git-filter-repo==2.25.0

Unix/macOs:

pip install git-filter-repo==2.25.0

git-filter-repo 2.24.02019-12-26T20:45:02Windows:

py -m pip install git-filter-repo==2.24.0

Unix/macOs:

pip install git-filter-repo==2.24.0

git-filter-repo 2.23.02019-12-26T20:42:50Windows:

py -m pip install git-filter-repo==2.23.0

Unix/macOs:

pip install git-filter-repo==2.23.0


Step 4: Otherwise, you can install git-filter-repo from local archives:

Download the distribution file from git-filter-repo-2.34.0.tar.gz or the specific git-filter-repo version in the below list of distribution

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_git-filter-repo_downloaded_file>

On Unix/macOs:

pip install <path_to_git-filter-repo_downloaded_file>


List distribution:

- git-filter-repo-2.23.0.tar.gz (python version >=3.5)
- git_filter_repo-2.23.0-py2.py3-none-any.whl (python version >=3.5)
- git-filter-repo-2.24.0.tar.gz (python version >=3.5)
- git_filter_repo-2.24.0-py2.py3-none-any.whl (python version >=3.5)
- git-filter-repo-2.25.0.tar.gz (python version >=3.5)
- git_filter_repo-2.25.0-py2.py3-none-any.whl (python version >=3.5)
- git-filter-repo-2.26.0.tar.gz (python version >=3.5)
- git_filter_repo-2.26.0-py2.py3-none-any.whl (python version >=3.5)
- git-filter-repo-2.27.0.tar.gz (python version >=3.5)
- git_filter_repo-2.27.0-py2.py3-none-any.whl (python version >=3.5)
- git-filter-repo-2.27.1.tar.gz (python version >=3.5)
- git_filter_repo-2.27.1-py2.py3-none-any.whl (python version >=3.5)
- git-filter-repo-2.28.0.tar.gz (python version >=3.5)
- git_filter_repo-2.28.0-py2.py3-none-any.whl (python version >=3.5)
- git-filter-repo-2.29.0.tar.gz (python version >=3.5)
- git_filter_repo-2.29.0-py2.py3-none-any.whl (python version >=3.5)
- git-filter-repo-2.32.0.tar.gz (python version >=3.5)
- git_filter_repo-2.32.0-py2.py3-none-any.whl (python version >=3.5)
- git-filter-repo-2.33.0.tar.gz (python version >=3.5)
- git_filter_repo-2.33.0-py2.py3-none-any.whl (python version >=3.5)
- git-filter-repo-2.34.0.tar.gz (python version >=3.5)
- git_filter_repo-2.34.0-py2.py3-none-any.whl (python version >=3.5)
- git-filter-repo-2.38.0.tar.gz (python version >=3.5)
- git_filter_repo-2.38.0-py2.py3-none-any.whl (python version >=3.5)


Project link:

- Homepage
- Issues
- Source