Installation¶
- Clone the git repository :
git clone https://plmlab.math.cnrs.fr/rrobin/stellacode.git #clone the repo cd stellacode/ #go to the new folder
- Create a virtual python environment with conda with the needed packages:
# create a new virtual environment named stellacode conda create --name stellacode python=3.6 matplotlib scipy dask opt_einsum jupyter conda activate stellacode # activate the environment
- (optional) Install Mayavi for 3D visualization
pip install vtk pip install mayavi
- (optional) Run the tests.
Warning
It can be memory expensive, around 16-20 GB and takes a few minutes.
python -m unittest discover -s test
- (very optional) Install the package to compile the documentation (available here ).
conda install -c conda-forge pandoc pip install -U sphinx pip install sphinx-autoapi nbsphinx nbsphinx-link