How to integrate Miniconda Python with Statistica?

How to integrate Miniconda Python with Statistica?

book

Article ID: KB0076942

calendar_today

Updated On:

Products Versions
Spotfire Statistica 13.5 and above

Description

This article instructs how to integrate Miniconda Python with Statistica.

Environment

Windows

Resolution

1. Download and install Miniconda python (e.g. Miniconda3 Windows 64-bit): https://docs.conda.io/en/latest/miniconda.html

2. After installation, add the system environment paths for Miniconda, for example, Miniconda 3.7
C:\Miniconda3
C:\Miniconda3\Scripts
C:\Miniconda3\Library\bin
 
3. Open Windows Command prompt, go to Miniconda scripts folder and Install python library "comtypes" with "conda" command to integrate with Statistica
>cd C:\Miniconda3\Scripts
>conda install comtypes
Collecting package metadata (current_repodata.json): done
Solving environment: done
## Package Plan ##
environment location:  C:\Miniconda3
added / updated specs:
- comtypes
The following packages will be downloaded:
package | build
---------------------------|-----------------
ca-certificates-2019.8.28 | 0 165 KB
certifi-2019.9.11 | py37_0 155 KB
comtypes-1.1.7 | py37_0 236 KB
conda-4.7.12 | py37_0 3.0 MB
------------------------------------------------------------
Total: 3.6 MB
The following NEW packages will be INSTALLED:
comtypes pkgs/main/win-64::comtypes-1.1.7-py37_0
The following packages will be UPDATED:
ca-certificates 2019.5.15-0 --> 2019.8.28-0
certifi 2019.6.16-py37_0 --> 2019.9.11-py37_0
conda 4.7.10-py37_0 --> 4.7.12-py37_0
Proceed ([y]/n)? y
Downloading and Extracting Packages
ca-certificates-2019 | 165 KB | #################################### | 100%
conda-4.7.12 | 3.0 MB | #################################### | 100%
certifi-2019.9.11 | 155 KB | #################################### | 100%
comtypes-1.1.7 | 236 KB | #################################### | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
 
4. The installed Miniconda python version (e.g. python 3.7.3) will be listed for use in the Statistica Python node
 
User-added image

Issue/Introduction

How to integrate Miniconda Python with Statistica?