Difference between revisions of "Installing SCP in Ubuntu"

From Geomaster, Lda
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 20: Line 20:
  
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
sudo easy_install3 scipy scipy matplotlib numpy
+
sudo easy_install3 scipy matplotlib numpy
 
</syntaxhighlight>
 
</syntaxhighlight>
  
Line 48: Line 48:
  
 
[[File:Captura de ecrã de 2018-06-03 16-35-03.png]]
 
[[File:Captura de ecrã de 2018-06-03 16-35-03.png]]
 +
 +
== Test ==
 +
 +
Open the SCP plugin and go to '''Settings'''. Select the '''Test''' tab and run '''Test dependencies'''.
 +
 +
[[File:Captura de ecrã de 2018-06-09 22-23-52.png]]
 +
 +
If everything is properly installed, the result should be like this:
 +
 +
[[File:Captura de ecrã de 2018-06-09 22-24-51.png]]

Latest revision as of 07:16, 11 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 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

Installation

Go to Plugins → Manage and Install Plugins...

Search for "Semi" and it will appear in the results.

Select it and install.

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

Test

Open the SCP plugin and go to Settings. Select the Test tab and run Test dependencies.

Captura de ecrã de 2018-06-09 22-23-52.png

If everything is properly installed, the result should be like this:

Captura de ecrã de 2018-06-09 22-24-51.png