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

How to install peregrine via python pip




peregrine - Peregrine is an opinioned blog system for the Wagtail content management system on the Django Web Framework., it belongs to Classifiers:

- Development Status :: 3 - Alpha
- Environment :: Web Environment
- Framework :: Django
- Framework :: Django :: 2
- Framework :: Django :: 2.2
- Framework :: Django :: 3
- Framework :: Django :: 3.0
- Framework :: Django :: 3.1
- Framework :: Django :: 3.2
- Framework :: Django :: 4
- Framework :: Django :: 4.0
- Framework :: Wagtail
- Framework :: Wagtail :: 2
- License :: OSI Approved :: BSD License
- Programming Language :: Python :: 3 :: Only
- Programming Language :: Python :: 3.9
- Topic :: Internet
- Topic :: Internet :: WWW/HTTP
- Topic :: Internet :: WWW/HTTP :: Dynamic Content

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



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_peregrine_env

- Active the virtual environment

test_peregrine_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_peregrine_env

- Active the virtual environment

source test_peregrine_env/bin/active


Step 2: OK, now, let flow below content to start the installation peregrine

To install peregrine on Windows(CMD):

py -m pip install peregrine

To install peregrine on Unix/macOs:

pip install peregrine


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

Example:

pip install peregrine==0.1


Please see the version list below table:

VersionReleased dateCommand
peregrine 0.5.12022-06-13T15:32:57Windows:

py -m pip install peregrine==0.5.1

Unix/macOs:

pip install peregrine==0.5.1

peregrine 0.5.02021-11-05T21:57:05Windows:

py -m pip install peregrine==0.5.0

Unix/macOs:

pip install peregrine==0.5.0

peregrine 0.4.02021-05-23T14:16:52Windows:

py -m pip install peregrine==0.4.0

Unix/macOs:

pip install peregrine==0.4.0

peregrine 0.3.02021-04-05T20:59:40Windows:

py -m pip install peregrine==0.3.0

Unix/macOs:

pip install peregrine==0.3.0

peregrine 0.2.62020-04-07T00:23:52Windows:

py -m pip install peregrine==0.2.6

Unix/macOs:

pip install peregrine==0.2.6

peregrine 0.2.52020-04-07T00:13:41Windows:

py -m pip install peregrine==0.2.5

Unix/macOs:

pip install peregrine==0.2.5

peregrine 0.2.42018-12-24T16:49:07Windows:

py -m pip install peregrine==0.2.4

Unix/macOs:

pip install peregrine==0.2.4

peregrine 0.2.32018-11-12T16:57:05Windows:

py -m pip install peregrine==0.2.3

Unix/macOs:

pip install peregrine==0.2.3

peregrine 0.12016-05-08T15:40:31Windows:

py -m pip install peregrine==0.1

Unix/macOs:

pip install peregrine==0.1


Step 4: Otherwise, you can install peregrine from local archives:

Download the distribution file from peregrine-0.5.1.tar.gz or the specific peregrine version in the below list of distribution

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_peregrine_downloaded_file>

On Unix/macOs:

pip install <path_to_peregrine_downloaded_file>


List distribution:


Project link:

- Homepage