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

How to install mpmath via python pip




mpmath - Python library for arbitrary-precision floating-point arithmetic, it belongs to Classifiers:

- Programming Language :: Python :: Implementation :: CPython
- Programming Language :: Python :: Implementation :: PyPy

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



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_mpmath_env

- Active the virtual environment

test_mpmath_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_mpmath_env

- Active the virtual environment

source test_mpmath_env/bin/active


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

To install mpmath on Windows(CMD):

py -m pip install mpmath

To install mpmath on Unix/macOs:

pip install mpmath


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

Example:

pip install mpmath==0.1


Please see the version list below table:

VersionReleased dateCommand
mpmath 1.2.12021-02-09T15:22:26Windows:

py -m pip install mpmath==1.2.1

Unix/macOs:

pip install mpmath==1.2.1

mpmath 1.1.02018-12-11T15:20:36Windows:

py -m pip install mpmath==1.1.0

Unix/macOs:

pip install mpmath==1.1.0

mpmath 1.0.02017-10-02T09:01:59Windows:

py -m pip install mpmath==1.0.0

Unix/macOs:

pip install mpmath==1.0.0

mpmath 0.192014-06-11T10:12:23Windows:

py -m pip install mpmath==0.19

Unix/macOs:

pip install mpmath==0.19

mpmath 0.182014-01-06T00:46:30Windows:

py -m pip install mpmath==0.18

Unix/macOs:

pip install mpmath==0.18

mpmath 0.172011-02-01T22:01:36Windows:

py -m pip install mpmath==0.17

Unix/macOs:

pip install mpmath==0.17

mpmath 0.162010-09-24T16:48:05Windows:

py -m pip install mpmath==0.16

Unix/macOs:

pip install mpmath==0.16

mpmath 0.152010-06-06T15:14:02Windows:

py -m pip install mpmath==0.15

Unix/macOs:

pip install mpmath==0.15

mpmath 0.142010-02-05T19:42:33Windows:

py -m pip install mpmath==0.14

Unix/macOs:

pip install mpmath==0.14

mpmath 0.132009-08-13T19:31:06Windows:

py -m pip install mpmath==0.13

Unix/macOs:

pip install mpmath==0.13

mpmath 0.122009-06-09T19:01:42Windows:

py -m pip install mpmath==0.12

Unix/macOs:

pip install mpmath==0.12

mpmath 0.112009-01-26T13:43:32Windows:

py -m pip install mpmath==0.11

Unix/macOs:

pip install mpmath==0.11

mpmath 0.102008-10-15T12:46:04Windows:

py -m pip install mpmath==0.10

Unix/macOs:

pip install mpmath==0.10

mpmath 0.92008-08-23T15:04:56Windows:

py -m pip install mpmath==0.9

Unix/macOs:

pip install mpmath==0.9

mpmath 0.82008-04-20T15:22:58Windows:

py -m pip install mpmath==0.8

Unix/macOs:

pip install mpmath==0.8

mpmath 0.72008-03-12T18:25:15Windows:

py -m pip install mpmath==0.7

Unix/macOs:

pip install mpmath==0.7

mpmath 0.62008-01-13T17:08:00Windows:

py -m pip install mpmath==0.6

Unix/macOs:

pip install mpmath==0.6

mpmath 0.52007-11-24T13:41:42Windows:

py -m pip install mpmath==0.5

Unix/macOs:

pip install mpmath==0.5

mpmath 0.42007-11-03T17:38:34Windows:

py -m pip install mpmath==0.4

Unix/macOs:

pip install mpmath==0.4

mpmath 0.32007-10-05T12:56:29Windows:

py -m pip install mpmath==0.3

Unix/macOs:

pip install mpmath==0.3

mpmath 0.22007-10-02T09:29:18Windows:

py -m pip install mpmath==0.2

Unix/macOs:

pip install mpmath==0.2

mpmath 0.12007-09-28T04:44:43Windows:

py -m pip install mpmath==0.1

Unix/macOs:

pip install mpmath==0.1


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

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

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_mpmath_downloaded_file>

On Unix/macOs:

pip install <path_to_mpmath_downloaded_file>


List distribution:

- mpmath-0.1.zip
- mpmath-0.2.win32.exe
- mpmath-0.2.zip
- mpmath-0.3.win32.exe
- mpmath-0.3.zip
- mpmath-0.4.src.zip
- mpmath-0.4.win32.exe
- mpmath-0.5.win32.exe
- mpmath-0.5.zip
- mpmath-0.6.win32.exe
- mpmath-0.6.zip
- mpmath-0.7.tar.gz
- mpmath-0.7.win32.exe
- mpmath-0.7.zip
- mpmath-0.8.tar.gz
- mpmath-0.8.win32.exe
- mpmath-0.8.zip
- mpmath-0.9.tar.gz
- mpmath-0.9.win32.exe
- mpmath-0.9.zip
- mpmath-0.10.tar.gz
- mpmath-0.10.win32.exe
- mpmath-0.10.zip
- mpmath-0.11.tar.gz
- mpmath-0.11.win32.exe
- mpmath-0.11.zip
- mpmath-0.12.tar.gz
- mpmath-0.12.win32.exe
- mpmath-0.12.zip
- mpmath-0.13.tar.gz
- mpmath-0.13.win32.exe
- mpmath-0.13.zip
- mpmath-0.14.tar.gz
- mpmath-0.14.win32.exe
- mpmath-0.14.zip
- mpmath-0.15.tar.gz
- mpmath-0.15.win32.exe
- mpmath-0.15.zip
- mpmath-0.16.tar.gz
- mpmath-0.16.win32-py2.6.msi
- mpmath-docsrc-0.16.tar.gz
- mpmath-0.17.tar.gz
- mpmath-0.17.win32.exe
- mpmath-all-0.17.tar.gz
- mpmath-0.18.tar.gz
- mpmath-all-0.18.tar.gz
- mpmath-0.19.tar.gz
- mpmath-all-0.19.tar.gz
- mpmath-1.0.0.tar.gz
- mpmath-1.1.0.tar.gz
- mpmath-1.2.1-py3-none-any.whl
- mpmath-1.2.1.tar.gz


Project link:

- Homepage
- Documentation
- Source
- Tracker