Mohan Wu, Martin Lysy
eigenpip is a recent distribution of the C++ Eigen library for Python linking. Some applications of the library can be found in our Kalman package. There are two main functions to eigenpip. The first is installing the Eigen library to give access to other Python packages. The second is give the user access to the path of the Eigen library.
To instal from pypi:
pip install eigenpipFor a normal installation:
git clone https://github.com/mohanwu/eigenpip
cd eigenpip
pip install .If you would like to your own version of the Eigen library then set the environment variable EIGEN_PATH to the path of your library.
On Linux:
EIGEN_PATH="/ABSOLUTE/PATH/TO/EIGEN/LIBRARY" pip install .On Windows Powershell:
$env:EIGEN_PATH = "/ABSOLUTE/PATH/TO/EIGEN/LIBRARY"; pip install .To get the path of the Eigen library:
import eigenpip
EIGEN_PATH = eigenpip.get_include()