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
- In a terminal, create an environment using
conda create --name phasemodel python=3.7
- Activate the conda environment you just created using:
conda activate phasemodel
- 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.
- Install the dependencies of polyphase using:
pip install -r requirements.txt
- 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.