- Intended Audience :: System Administrators
- License :: OSI Approved :: Python Software Foundation License
- Topic :: Utilities
When you know about this project and you want to new install units to support your project or you get trouble as ModuleNotFoundError: No module named "units" or ImportError: cannot import name "units" in your project, let follow this tutorial to install units
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_units_env
- Active the virtual environment
test_units_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_units_env
- Active the virtual environment
source test_units_env/bin/active
To install units on Windows(CMD):
py -m pip install units
To install units on Unix/macOs:
pip install units
Example:
pip install units==0.00
Please see the version list below table:
Version | Released date | Command |
---|---|---|
units 0.07 | 2017-02-05T05:34:50 | Windows: Unix/macOs:
|
units 0.06 | 2013-02-25T00:49:37 | Windows: Unix/macOs:
|
units 0.05 | 2012-10-27T17:49:25 | Windows: Unix/macOs:
|
units 0.04 | 2010-08-06T07:03:14 | Windows: Unix/macOs:
|
units 0.03 | 2009-10-31T21:03:41 | Windows: Unix/macOs:
|
units 0.02 | 2009-08-17T18:59:28 | Windows: Unix/macOs:
|
units 0.01 | 2009-08-17T04:44:16 | Windows: Unix/macOs:
|
units 0.00 | 2009-08-17T04:40:43 | Windows: Unix/macOs:
|
Download the distribution file from units-0.07.tar.gz or the specific units version in the below list of distribution
After that, install by command:
On Windows(CMD):
py -m pip install <path_to_units_downloaded_file>
On Unix/macOs:
pip install <path_to_units_downloaded_file>
List distribution:
Project link:
- Homepage