The easiest way to install GO-PCA on Windows consists of a two-step procedure: First, install Anaconda, a Python distribution provided by Continuum Analytics. Second, install GO-PCA with pip.
Here is a step-by-step guide:
pip install gopca
and hit Enter.To install a specific version of GO-PCA, e.g., “2.0.0”, run:
pip install gopca==2.0.0
Many third-party Python packages do not require a large, third-party Python
distribution like Anaconda for their installation on Windows (i.e., they can
be installed with the official Python distribution). However, GO-PCA
depends on the SciPy library, which is difficult to install with pip
on
Windows (the reasons for this are beyond the scope of this manual). Anaconda
comes with SciPy pre-installed, which means that pip does not need to
install the package when installing GO-PCA. This makes the installation of
GO-PCA much more straightforward.
Advanced Python users are likely familiar with the concept of Python
“environments”, and know how to use conda for creating and managing
environments. When installing GO-PCA into a separate conda environment on
Windows, this environment should have SciPy installed in it (e.g., use
something like conda create -n gopca_env python=3.5 scipy
to create the
environment). Then, inside the environment, install GO-PCA using pip
, as
described above.