Installation

Required dependencies

Installing dependencies

The required dependencies can be installed either in a dedicated Anaconda environment or in a dedicated Python virtual environment via pip.

Installing dependencies using conda (Anaconda)

First, create a new conda environment and activate it:

1>>> conda create --name fitlj python=3.8
2>>> conda activate fitlj

Then, install the required packages:

1>>> conda -c install conda-forge numpy scipy ase sphinx sphinx-autoapi

Installing dependencies using pip

First, create a new environment and activate it:

1>>> python3 -m venv <path-to-virtual-environment>
2>>> source <path-to-virtual-environment>/bin/activate

Then install the required packages:

1>>> pip install numpy
2>>> pip install scipy
3>>> pip install ase
4>>> pip install sphinx
5>>> pip install sphinx-autoapi

Environment variables

The following environment variable should be added to your PYTHONPATH

1cd <path-to-folder>; export PYTHONPATH=$(pwd):$PYTHONPATH

where <path-to-folder> is the path to the folder of the FitLJ program.