Skip to content
This repository has been archived by the owner on Jun 14, 2021. It is now read-only.

Latest commit

 

History

History
37 lines (28 loc) · 1.2 KB

INSTALL.md

File metadata and controls

37 lines (28 loc) · 1.2 KB

Installing polyphase package

We will go over the details of installing polyphase as a python package using pip and conda

We recommend installing using conda environments but advanced user can use python virtual environment set up described here

To install using conda, first install python using Anaconda

After sucessfull installation follow the steps

  1. In a terminal, create an environment using
conda create --name phasemodel python=3.7
  1. Activate the conda environment you just created using:
conda activate phasemodel
  1. Clone the github master repository of the polyphase module using:
git clone https://github.com/kiranvad/polyphase.git

Change the current directory to the newly cloned github repo.

  1. Install the dependencies of polyphase using:
pip install -r requirements.txt
  1. Install the polyphase as a package:
pip install -e .

You should be able to repeat similar steps on python virtual environment if you chose to. The commands above would also install several dependecies for example ray, mpltern thus it might take about a minute.