- Intended Audience :: Education
- License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)
When you know about this project and you want to new install portion to support your project or you get trouble as ModuleNotFoundError: No module named "portion" or ImportError: cannot import name "portion" in your project, let follow this tutorial to install portion
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 Windows (CMD):
- Install virtualenv - if you installed it, please ignore
py -m pip install --user virtualenv
- Create a virtual environment
py -m venv test_portion_env
- Active the virtual environment
test_portion_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_portion_env
- Active the virtual environment
source test_portion_env/bin/active
To install portion on Windows(CMD):
py -m pip install portion
To install portion on Unix/macOs:
pip install portion
Example:
pip install portion==2.0.0rc1 pre-release
Please see the version list below table:
Version | Released date | Command |
---|---|---|
portion 2.2.0 | 2021-09-14T07:12:13 | Windows: Unix/macOs:
|
portion 2.1.6 | 2021-04-17T14:34:00 | Windows: Unix/macOs:
|
portion 2.1.5 | 2021-02-28T10:25:44 | Windows: Unix/macOs:
|
portion 2.1.4 | 2020-11-26T10:59:28 | Windows: Unix/macOs:
|
portion 2.1.3.post1 | 2020-11-13T08:44:10 | Windows: Unix/macOs:
|
portion 2.1.3 | 2020-09-18T15:56:46 | Windows: Unix/macOs:
|
portion 2.1.2 | 2020-09-16T12:08:16 | Windows: Unix/macOs:
|
portion 2.1.1 | 2020-08-21T11:54:31 | Windows: Unix/macOs:
|
portion 2.1.0 | 2020-08-09T08:54:01 | Windows: Unix/macOs:
|
portion 2.0.2 | 2020-05-09T09:55:00 | Windows: Unix/macOs:
|
portion 2.0.1 | 2020-03-15T09:17:56 | Windows: Unix/macOs:
|
portion 2.0.0 | 2020-03-06T12:57:45 | Windows: Unix/macOs:
|
Download the distribution file from portion-2.2.0.tar.gz or the specific portion version in the below list of distribution
After that, install by command:
On Windows(CMD):
py -m pip install <path_to_portion_downloaded_file>
On Unix/macOs:
pip install <path_to_portion_downloaded_file>
List distribution:
Project link:
- Homepage