AxeldeRomblay / MLBox

MLBox is a powerful Automated Machine Learning python library.
https://mlbox.readthedocs.io/en/latest/
Other
1.49k stars 273 forks source link

maplotlib import error #4

Closed ncherel closed 7 years ago

ncherel commented 7 years ago

matplotlib is missing from requirements.txt leading to an error when importing mlbox.

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "mlbox/__init__.py", line 11, in <module>
    from prediction import *
  File "mlbox/prediction/__init__.py", line 1, in <module>
    from predictor import *
  File "mlbox/prediction/predictor.py", line 14, in <module>
    import matplotlib.pyplot as plt
ImportError: No module named matplotlib.pyplot
AxeldeRomblay commented 7 years ago

do you use anaconda distribution ?

ncherel commented 7 years ago

No, just Python 2.7 and pip

AxeldeRomblay commented 7 years ago

ok perfect ! That's why I just realize that matplotlib was missing... Now it is fixed ! Also do you have the following packages :

ncherel commented 7 years ago

Yes I have all of them in a brand new virtual env

AxeldeRomblay commented 7 years ago

great ! ok so need to add them in the requirements ...