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

How to install river via python pip




river - Online machine learning in Python, it belongs to Classifiers:

- License :: OSI Approved :: BSD License
- Programming Language :: Python :: 3.10
- 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 river to support your project or you get trouble as ModuleNotFoundError: No module named "river" or ImportError: cannot import name "river" in your project, let follow this tutorial to install river



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_river_env

- Active the virtual environment

test_river_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_river_env

- Active the virtual environment

source test_river_env/bin/active


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

To install river on Windows(CMD):

py -m pip install river

To install river on Unix/macOs:

pip install river


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

Example:

pip install river==0.7.0


Please see the version list below table:

VersionReleased dateCommand
river 0.11.12022-06-06T21:29:21Windows:

py -m pip install river==0.11.1

Unix/macOs:

pip install river==0.11.1

river 0.11.02022-05-28T18:33:26Windows:

py -m pip install river==0.11.0

Unix/macOs:

pip install river==0.11.0

river 0.10.12022-02-04T15:29:10Windows:

py -m pip install river==0.10.1

Unix/macOs:

pip install river==0.10.1

river 0.10.02022-02-04T02:50:04Windows:

py -m pip install river==0.10.0

Unix/macOs:

pip install river==0.10.0

river 0.9.02021-11-30T18:46:07Windows:

py -m pip install river==0.9.0

Unix/macOs:

pip install river==0.9.0

river 0.8.02021-08-30T12:12:47Windows:

py -m pip install river==0.8.0

Unix/macOs:

pip install river==0.8.0

river 0.7.12021-06-13T08:40:17Windows:

py -m pip install river==0.7.1

Unix/macOs:

pip install river==0.7.1

river 0.7.02021-04-16T21:45:12Windows:

py -m pip install river==0.7.0

Unix/macOs:

pip install river==0.7.0


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

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

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_river_downloaded_file>

On Unix/macOs:

pip install <path_to_river_downloaded_file>


List distribution:


Project link:

- Homepage