statisticianinstilettos / recmetrics

A library of metrics for evaluating recommender systems
MIT License
568 stars 98 forks source link

fix setup requires error #22

Closed uni-3 closed 4 years ago

uni-3 commented 4 years ago

add plotly in setup.py as install_requires

pip3 install git+https://github.com/statisticianinstilettos/recmetrics.git
python3
>>> import recmetrics
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/uni/Library/Python/3.7/lib/python/site-packages/recmetrics/__init__.py", line 1, in <module>
    from .plots import long_tail_plot, mark_plot, mapk_plot, coverage_plot, class_separation_plot, roc_plot, precision_recall_plot
  File "/Users/uni/Library/Python/3.7/lib/python/site-packages/recmetrics/plots.py", line 7, in <module>
    import plotly.graph_objects as go
ModuleNotFoundError: No module named 'plotly'
statisticianinstilettos commented 4 years ago

Thank you! :-)