pip installation doesn't install tabulate
It appears tablulate
isn't being installed when you install glmtools with pip. Code to reproduce the error:
conda create --name test python=3
conda activate test
pip install glmtools
Currently, this installs v0.2.0. If you try to import glmtools you get:
ModuleNotFoundError: No module named 'tabulate'
I think this can be resolved by adding tabluate
here: https://gitlab.com/ajquinn/glmtools/-/blob/v0.2.0/setup.py#L62-L68. I think you want to update install_requires
to:
install_requires=['numpy',
'scipy',
'matplotlib',
'anamnesis'
'scikit-learn'
'tabulate'],
Note, I had a look at the requirements (on the v0.2.0 tag): https://gitlab.com/ajquinn/glmtools/-/blob/v0.2.0/requirements.txt#L6 and it looks like tabulate is listed. However, this is not used when the end user installs via pip install glmtools
.
Edited by cgohil8