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

How to install nutch via python pip




nutch - Apache Nutch Python library, it belongs to Classifiers:

- Intended Audience :: Information Technology
- Topic :: Database
- Topic :: Database :: Front-Ends

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



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_nutch_env

- Active the virtual environment

test_nutch_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_nutch_env

- Active the virtual environment

source test_nutch_env/bin/active


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

To install nutch on Windows(CMD):

py -m pip install nutch

To install nutch on Unix/macOs:

pip install nutch


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

Example:

pip install nutch==1.10


Please see the version list below table:

VersionReleased dateCommand
nutch 1.10.32015-10-16T17:47:31Windows:

py -m pip install nutch==1.10.3

Unix/macOs:

pip install nutch==1.10.3

nutch 1.10.22015-10-01T01:57:22Windows:

py -m pip install nutch==1.10.2

Unix/macOs:

pip install nutch==1.10.2

nutch 1.10.12015-08-21T02:26:29Windows:

py -m pip install nutch==1.10.1

Unix/macOs:

pip install nutch==1.10.1

nutch 1.102015-08-21T02:19:20Windows:

py -m pip install nutch==1.10

Unix/macOs:

pip install nutch==1.10


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

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

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_nutch_downloaded_file>

On Unix/macOs:

pip install <path_to_nutch_downloaded_file>


List distribution:

- nutch-1.10-py2.7.egg
- nutch-1.10.tar.gz
- nutch-1.10.1-py2.7.egg
- nutch-1.10.1.tar.gz
- nutch-1.10.2-py2.7.egg
- nutch-1.10.2.tar.gz
- nutch-1.10.3-py2.7.egg
- nutch-1.10.3.tar.gz


Project link:

- Homepage
- Download