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

How to install waterdetect via python pip




waterdetect - WaterDetect generates open water cover mask for L2A Sentinel 2 imagery without any a priori knowledge on the scene. It can also be used for Landsat 8 images and for other multispectral clustering/segmentation tasks., it belongs to Classifiers:

- License :: OSI Approved :: GNU General Public License v3 (GPLv3)

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



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_waterdetect_env

- Active the virtual environment

test_waterdetect_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_waterdetect_env

- Active the virtual environment

source test_waterdetect_env/bin/active


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

To install waterdetect on Windows(CMD):

py -m pip install waterdetect

To install waterdetect on Unix/macOs:

pip install waterdetect


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

Example:

pip install waterdetect==1.0


Please see the version list below table:

VersionReleased dateCommand
waterdetect 1.5.122022-03-31T07:40:08Windows:

py -m pip install waterdetect==1.5.12

Unix/macOs:

pip install waterdetect==1.5.12

waterdetect 1.5.112021-11-10T16:47:47Windows:

py -m pip install waterdetect==1.5.11

Unix/macOs:

pip install waterdetect==1.5.11

waterdetect 1.5.102021-11-08T15:23:39Windows:

py -m pip install waterdetect==1.5.10

Unix/macOs:

pip install waterdetect==1.5.10

waterdetect 1.5.92021-11-05T17:09:44Windows:

py -m pip install waterdetect==1.5.9

Unix/macOs:

pip install waterdetect==1.5.9

waterdetect 1.5.82021-05-03T16:38:23Windows:

py -m pip install waterdetect==1.5.8

Unix/macOs:

pip install waterdetect==1.5.8

waterdetect 1.5.72021-04-26T08:19:04Windows:

py -m pip install waterdetect==1.5.7

Unix/macOs:

pip install waterdetect==1.5.7

waterdetect 1.5.62021-04-26T08:01:20Windows:

py -m pip install waterdetect==1.5.6

Unix/macOs:

pip install waterdetect==1.5.6

waterdetect 1.5.5.12021-04-26T07:56:12Windows:

py -m pip install waterdetect==1.5.5.1

Unix/macOs:

pip install waterdetect==1.5.5.1

waterdetect 1.5.42020-12-02T08:12:58Windows:

py -m pip install waterdetect==1.5.4

Unix/macOs:

pip install waterdetect==1.5.4

waterdetect 1.5.32020-11-26T17:01:32Windows:

py -m pip install waterdetect==1.5.3

Unix/macOs:

pip install waterdetect==1.5.3

waterdetect 1.5.22020-11-24T15:27:42Windows:

py -m pip install waterdetect==1.5.2

Unix/macOs:

pip install waterdetect==1.5.2

waterdetect 1.5.12020-11-24T15:27:40Windows:

py -m pip install waterdetect==1.5.1

Unix/macOs:

pip install waterdetect==1.5.1

waterdetect 1.52020-11-20T16:27:49Windows:

py -m pip install waterdetect==1.5

Unix/macOs:

pip install waterdetect==1.5

waterdetect 1.42020-11-20T16:00:21Windows:

py -m pip install waterdetect==1.4

Unix/macOs:

pip install waterdetect==1.4

waterdetect 1.32020-11-20T13:52:03Windows:

py -m pip install waterdetect==1.3

Unix/macOs:

pip install waterdetect==1.3

waterdetect 1.22020-11-20T12:09:17Windows:

py -m pip install waterdetect==1.2

Unix/macOs:

pip install waterdetect==1.2

waterdetect 1.12020-11-20T11:57:48Windows:

py -m pip install waterdetect==1.1

Unix/macOs:

pip install waterdetect==1.1

waterdetect 1.02020-11-18T16:19:28Windows:

py -m pip install waterdetect==1.0

Unix/macOs:

pip install waterdetect==1.0


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

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

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_waterdetect_downloaded_file>

On Unix/macOs:

pip install <path_to_waterdetect_downloaded_file>


List distribution:


Project link:

- Homepage