New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when trying to import matplotlib into IPython notebook #5919
Comments
I think this is a duplicate of #5420 which is really a OSX bug. The work around is to set LANG and possiblly export LC_ALL to valid values such as some thing like the following: export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8 |
I updated the formatting of your output to make it more readable |
Thanks so much! That worked! |
Do I have to enter this every time I start the IPython notebook? Because it seems like that I have to do this. |
The best solution is to add it to your shell customisation so it's run every time you start a shell. You are probably running bash so it should be either |
Ok the fix for me:
to the end of the file. |
Hi, I'm getting the following error: C:\Users\samaneh\Anaconda3\lib\site-packages\sklearn\neural_network\multilayer_perceptron.py in fit(self, X, y) C:\Users\samaneh\Anaconda3\lib\site-packages\sklearn\neural_network\multilayer_perceptron.py in _fit(self, X, y, incremental) C:\Users\samaneh\Anaconda3\lib\site-packages\sklearn\neural_network\multilayer_perceptron.py in _validate_input(self, X, y, incremental) C:\Users\samaneh\Anaconda3\lib\site-packages\sklearn\preprocessing\label.py in fit(self, y) ValueError: Multioutput target data is not supported with label binarization |
@samanemt, the traceback shows that the error is coming from scikit-learn, not from matplotlib. |
Hi, I'm getting the following error:
Any ideas how to fix this? Thanks!
The text was updated successfully, but these errors were encountered: