Skip to content

Commit fbc4350

Browse files
authored
Update README.md
add subtitle for better installation instructions
1 parent 0e20886 commit fbc4350

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

README.md

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -22,24 +22,16 @@ Some demonstrations (both in Python and Jupyter Notebook format) are available i
2222

2323
## Installation
2424

25-
The library has been tested on Linux and MacOSX. It requires a C++ compiler for using the EMD solver and relies on the following Python modules:
25+
The library has been tested on Linux, MacOSX and Windows. It requires a C++ compiler for using the EMD solver and relies on the following Python modules:
2626

2727
- Numpy (>=1.11)
2828
- Scipy (>=0.17)
2929
- Cython (>=0.23)
3030
- Matplotlib (>=1.5)
3131

32-
If you use the Anaconda python distribution, POT is available in [conda-forge](conda-forge.github.io). To install it and the required dependencies:
33-
```
34-
conda install -c conda-forge pot
35-
```
36-
37-
Otherwise, under Debian-based Linux the dependencies can be installed with:
38-
```
39-
sudo apt-get install python-numpy python-scipy python-matplotlib cython
40-
```
32+
#### Pip installation
4133

42-
You can then install the toolbox through PyPI with:
34+
You can install the toolbox through PyPI with:
4335
```
4436
pip install POT
4537
```
@@ -48,11 +40,18 @@ or get the very latest version by downloading it and then running:
4840
python setup.py install --user # for user install (no root)
4941
```
5042

43+
#### Anaconda installation with conda-forge
44+
45+
If you use the Anaconda python distribution, POT is available in [conda-forge](conda-forge.github.io). To install it and the required dependencies:
46+
```
47+
conda install -c conda-forge pot
48+
```
49+
50+
#### Post installation check
5151
After a correct installation, you should be able to import the module without errors:
5252
```python
5353
import ot
5454
```
55-
5655
Note that for easier access the module is name ot instead of pot.
5756

5857

0 commit comments

Comments
 (0)