[scikit-learn] Help needed
nj.yuanli at gmail.com
Thu Sep 14 21:42:08 EDT 2017
Thanks for your quick response, there are two functions in my code will output a chart using matplotlib. Do you know how can I discussing the PR via an issue with the main devs? Sorry for such stupid questions.
Thanks again for your advise.
From: Sebastian Raschka
Sent: Thursday, September 14, 2017 9:36 PM
To: Scikit-learn mailing list
Subject: Re: [scikit-learn] Help needed
to me, it looks like you are importing matplotlib in your code, but matplotlib is not being installed on the CI instances that are running the scikit-learn unit tests. Or in other words, the Travis instance is trying to execute an "import matplotlib..." and fails because matplotlib is not installed there. Except for the docs, I think matplotlib code is not being tested in scikit-learn's unit tests (and hence, it's not being installed). Does your code/contribution require matplotlib or is it just imported "by accident"? If the latter is true, simply removing matplotlib imports will prob. solve the issue; otherwise, I guess discussing the PR via an issue with the main devs might be the way to go.
> On Sep 14, 2017, at 9:24 PM, L Ali <nj.yuanli at gmail.com> wrote:
> Hi guys,
> I am totally new to the scikit-learn, I am going to submit a pull request to the repository, but always got following error message, I could not find any usefully information from Google, my last hope is our community.
> Is there anyone can give me some advise about this error: ModuleNotFoundError: No module named 'matplotlib'
> Thanks so much!
> Li Yuan
> scikit-learn mailing list
> scikit-learn at python.org
scikit-learn mailing list
scikit-learn at python.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the scikit-learn