0% found this document useful (0 votes)
171 views3 pages

Catalyst Windows Instructions

This document outlines the requirements and steps to install Catalyst on Windows. It recommends using Anaconda, a Python platform, to resolve pip installation issues on Windows. It also requires installing Microsoft Visual C++ Compiler for Python 2.7 to produce binary wheels. The installation process involves updating Anaconda packages, creating a Catalyst virtual environment, installing Catalyst via pip, and testing the installation by running a sample Python file.

Uploaded by

aldhosutra
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
171 views3 pages

Catalyst Windows Instructions

This document outlines the requirements and steps to install Catalyst on Windows. It recommends using Anaconda, a Python platform, to resolve pip installation issues on Windows. It also requires installing Microsoft Visual C++ Compiler for Python 2.7 to produce binary wheels. The installation process involves updating Anaconda packages, creating a Catalyst virtual environment, installing Catalyst via pip, and testing the installation by running a sample Python file.

Uploaded by

aldhosutra
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Requirements

1 - Anaconda

To complete the installation, you’ll require Anaconda, a platform powered by Python. The reason is that
pip does not work well for Windows because the standard pip package index site, PyPI, does not yet
have Windows wheels for some packages, such as SciPy. Anaconda solves this problem because it
includes a package and dependency manager.

There are two Anaconda versions. Currently, Catalyst is only compatible with the Python 2.7 version, so
make sure to download the appropriate version. If you already have the Python 3.6 version of Anaconda
installed in your system, you can install Catalyst by creating a Python 2.7 environment. For more
information, go to the following link: https://conda.io/docs/py2or3.html#create-a-python-2-7-
environment.

You can download Anaconda (Python 2.7 version) at the following link:
https://www.continuum.io/downloads.


In the installation process, select Add Anaconda to my PATH environment variable. Otherwise, the “pip”
and “conda” commands (used later in the process) won’t run in the command prompt.

2 – Microsoft Visual C++ Compiler for Python 2.7

This package contains the compiler and set of system headers necessary for producing binary wheels for
Python 2.7 packages.

If not already in your system, download and install Microsoft Visual C++ Compiler for Python 2.7. You
can find it at the following link: https://www.microsoft.com/en-us/download/details.aspx?id=44266


Installation process steps

1. Open Command prompt


2. Update Anaconda packages with: conda update –all
3. Install virtualenv with: conda install virtualenv
4. Create a virtual environment for Catalyst that includes Anaconda’s system packages with:
virtualenv --system-site-packages catalyst-venv
5. Activate the virtual environment with: catalyst-venv\Scripts\activate
6. Install Catalyst using pip: pip install enigma-catalyst
7. Test the installation:
a. Download the “buy_and_hodl.py” file at the following link:
https://github.com/enigmampc/catalyst/tree/master/catalyst/examples.
b. In the command prompt, use cd to get into the folder where the previous file is located
c. Type: catalyst ingest
d. Type: catalyst run -f buy_and_hodl.py --start 2015-3-1 --end 2017-6-28 --
capital-base 100000 -o bah.pickle

A successful installation should display the following graph:



Any questions please reach out to @40gomez on Enigma’s slack group.

You might also like