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

How to install odl via python pip




odl - Operator Discretization Library, it belongs to Classifiers:

- License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)
- Topic :: Scientific/Engineering :: Mathematics

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



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_odl_env

- Active the virtual environment

test_odl_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_odl_env

- Active the virtual environment

source test_odl_env/bin/active


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

To install odl on Windows(CMD):

py -m pip install odl

To install odl on Unix/macOs:

pip install odl


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

Example:

pip install odl==0.2.2


Please see the version list below table:

VersionReleased dateCommand
odl 0.7.02018-09-09T21:27:32Windows:

py -m pip install odl==0.7.0

Unix/macOs:

pip install odl==0.7.0

odl 0.6.02017-04-20T16:01:27Windows:

py -m pip install odl==0.6.0

Unix/macOs:

pip install odl==0.6.0

odl 0.5.3.post22017-02-04T00:30:48Windows:

py -m pip install odl==0.5.3.post2

Unix/macOs:

pip install odl==0.5.3.post2

odl 0.5.3.post12017-02-04T00:19:12Windows:

py -m pip install odl==0.5.3.post1

Unix/macOs:

pip install odl==0.5.3.post1

odl 0.5.3.post02017-02-04T00:00:51Windows:

py -m pip install odl==0.5.3.post0

Unix/macOs:

pip install odl==0.5.3.post0

odl 0.5.32017-01-17T20:53:17Windows:

py -m pip install odl==0.5.3

Unix/macOs:

pip install odl==0.5.3

odl 0.5.22016-11-02T17:43:44Windows:

py -m pip install odl==0.5.2

Unix/macOs:

pip install odl==0.5.2

odl 0.5.12016-10-24T14:28:45Windows:

py -m pip install odl==0.5.1

Unix/macOs:

pip install odl==0.5.1

odl 0.5.02016-10-21T19:11:36Windows:

py -m pip install odl==0.5.0

Unix/macOs:

pip install odl==0.5.0

odl 0.4.02016-08-17T15:02:46Windows:

py -m pip install odl==0.4.0

Unix/macOs:

pip install odl==0.4.0

odl 0.3.12016-08-15T16:57:26Windows:

py -m pip install odl==0.3.1

Unix/macOs:

pip install odl==0.3.1

odl 0.3.02016-08-15T15:00:23Windows:

py -m pip install odl==0.3.0

Unix/macOs:

pip install odl==0.3.0

odl 0.2.32016-06-12T18:27:35Windows:

py -m pip install odl==0.2.3

Unix/macOs:

pip install odl==0.2.3

odl 0.2.22016-03-11T19:16:18Windows:

py -m pip install odl==0.2.2

Unix/macOs:

pip install odl==0.2.2


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

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

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_odl_downloaded_file>

On Unix/macOs:

pip install <path_to_odl_downloaded_file>


List distribution:

- odl-0.2.2-py2.py3-none-any.whl
- odl-0.2.2.tar.gz
- odl-0.2.3-py2.py3-none-any.whl
- odl-0.2.3.tar.gz
- odl-0.3.0.tar.gz
- odl-0.3.1-py2.py3-none-any.whl
- odl-0.3.1.tar.gz
- odl-0.4.0-py2.py3-none-any.whl
- odl-0.4.0.tar.gz
- odl-0.5.0-py2.py3-none-any.whl
- odl-0.5.0.tar.gz
- odl-0.5.1-py2.py3-none-any.whl
- odl-0.5.1.tar.gz
- odl-0.5.2-py2.py3-none-any.whl
- odl-0.5.2.tar.gz
- odl-0.5.3-py2.py3-none-any.whl
- odl-0.5.3.tar.gz
- odl-0.5.3.post0-py2.py3-none-any.whl
- odl-0.5.3.post0.tar.gz
- odl-0.5.3.post1-py2.py3-none-any.whl
- odl-0.5.3.post1.tar.gz
- odl-0.5.3.post2-py2.py3-none-any.whl
- odl-0.5.3.post2.tar.gz
- odl-0.6.0-py2.py3-none-any.whl
- odl-0.6.0.tar.gz
- odl-0.7.0-py2.py3-none-any.whl
- odl-0.7.0.tar.gz


Project link:

- Homepage