Difference between revisions of "Installing SCP in Ubuntu"

From Geomaster, Lda
Jump to navigation Jump to search
(Created page with "== Requirements == This SCP is for QGIS 3.x. It uses Python 3.x. Check that you have installed scipy, matplotlib and numpy. To check: === Check requirements === Open Pytho...")
 
Line 31: Line 31:
 
>>> print(scipy.__version__);
 
>>> print(scipy.__version__);
 
1.1.0
 
1.1.0
 +
>>> import matplotlib;
 +
>>> print(matplotlib.__version__);
 +
2.2.2
 +
>>> import numpy;
 +
>>> print(numpy.__version__);
 +
1.13.3
 
</syntaxhighlight>
 
</syntaxhighlight>

Revision as of 15:29, 3 June 2018

Requirements

This SCP is for QGIS 3.x. It uses Python 3.x.

Check that you have installed scipy, matplotlib and numpy. To check:

Check requirements

Open Python Console in QGIS:

Captura de ecrã de 2018-06-03 16-19-06.png

Installing

sudo pip3 install scipy matplotlib numpy

or

sudo easy_install3 scipy scipy matplotlib numpy

Confirm requirements

On Python Console in QGIS:

>>> import scipy;
>>> print(scipy.__version__);
1.1.0
>>> import matplotlib;
>>> print(matplotlib.__version__);
2.2.2
>>> import numpy;
>>> print(numpy.__version__);
1.13.3