Installation guide¶
Dependencies¶
Hi-LASSO
support Python 3.6+, Additionally, you will need numpy
, scipy
, tqdm
and glmnet
.
However, these packages should be installed automatically when installing this codebase.
Installing Hi-LASSO¶
Hi-LASSO
is available through PyPI and can easily be installed with a
pip install:
pip install hi_lasso
The PyPI version is updated regularly, however for the latest update, you should clone from GitHub and install it directly:
git clone https://github.com/datax-lab/Hi-LASSO.git
cd hi_lasso
python setup.py
Installation error¶
If the glmnet packages failed, you can try a follow solutions.
error: extension '_glmnet' has Fortran sources but no Fortran compiler found
You should install anaconda3
and then install conda fortran-compiler
.
error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
You need to install Microsoft Visual C++ 14.0.