I checked the IPython configuration and I am not setting anything in 
IPython's configuration. I believe Jupyter and JupyterHub uses Ipython 
configuration file. I am able to run Jupyter notebook without any trouble 
but getting these errors with JupyterHub.

I checked the $PYTHONSTARTUP variable and it is empty.

On Monday, August 22, 2016 at 11:46:38 AM UTC-7, takowl wrote:
>
> On 22 August 2016 at 19:08, Sachin Mehta <[email protected] 
> <javascript:>> wrote:
>
>> I do agree that matplotlib or pylab might be causing this issue. However, 
>> in jupyter notebook, we can control the invoking of these libraries using 
>> "c.NotebookApp.pylab = 'disabled' " command in jupyter_notebook_config.py 
>> file. Such an option doesn't exist in jupyterhub_config.py file. How can we 
>> disable pylab or matplotlib at the initialization of jupyterhub?
>>
>
> It would be part of IPython's configuration, not Jupyter's (as it's 
> specific to Python kernels), so it would be in ~/.ipython/profile_default/ 
> . But IPython doesn't enable it by default, so unless you've set something 
> in config already, that shouldn't be the issue. Is it possible that you 
> have $PYTHONSTARTUP set?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/24ecd172-f7eb-4a25-982d-a398d5b9774f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to