- Development Status :: 6 - Mature
When you know about this project and you want to new install gmpy to support your project or you get trouble as ModuleNotFoundError: No module named "gmpy" or ImportError: cannot import name "gmpy" in your project, let follow this tutorial to install gmpy
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_gmpy_env
- Active the virtual environment
test_gmpy_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_gmpy_env
- Active the virtual environment
source test_gmpy_env/bin/active
To install gmpy on Windows(CMD):
py -m pip install gmpy
To install gmpy on Unix/macOs:
pip install gmpy
Example:
pip install gmpy==1.02
Please see the version list below table:
Version | Released date | Command |
---|---|---|
gmpy 1.17 | 2013-07-28T04:07:44 | Windows: Unix/macOs:
|
gmpy 1.16 | 2012-10-13T00:28:20 | Windows: Unix/macOs:
|
gmpy 1.15 | 2012-01-13T06:50:19 | Windows: Unix/macOs:
|
gmpy 1.14 | 2011-06-14T04:40:20 | Windows: Unix/macOs:
|
gmpy 1.02 | 2007-02-20T06:06:12 | Windows: Unix/macOs:
|
Download the distribution file from gmpy-1.17.zip or the specific gmpy version in the below list of distribution
After that, install by command:
On Windows(CMD):
py -m pip install <path_to_gmpy_downloaded_file>
On Unix/macOs:
pip install <path_to_gmpy_downloaded_file>
List distribution:
- gmpy-1.15.zip
- gmpy-1.16.zip
- gmpy-1.17.zip
Project link:
- Homepage