christopherjenness/DBCV

Incomplete requirement list to run tests

smartie2076 opened this issue · 3 comments

Hi @christopherjenness I think it would be nice if there was a requirements list to go though to install everything needed for the test file. Here the is what I had to do to set that up on my system:

pip install -U scikit-learn to install sklearn
pip install pytest
pip install hdbscan or conda install -c conda-forge hdbscan

I actually also expected the test folder to provide an example of the code´s application, not the assertions, I would add an example.py for that (eg. using the code in the README).

You should find all the install requirements in requirements.txt, which is located in the source folder

I know, and I also should have installed those automatically by clicking on "Install requirements":

grafik

and python setup.py install also passed with Finished processing dependencies of DBCV==0.0.0

Still, when I tried running the tests, it resulted in
grafik

As well as the same for pytest and hdbscan.

If you are sure that the installation works flawlessly, you can ignore this (I was using pycharm and Windows 10 Pro by the way). I think what would be interesting though would still be a file example.py.