[IPython-User] questions about latex rendering in ipython with sympy

Comer Duncan comer.duncan@gmail....
Tue Jan 10 18:56:08 CST 2012

Hi Paul,

Well, I did:

[homelap-3:~] comerduncan% rm -fr ~/.ipython
[homelap-3:~] comerduncan% ipython notebook --profile=sympy
[NotebookApp] Profile u'sympy' not found.
[homelap-3:~] comerduncan% ipython --profile=sympy -c "print 1"
[TerminalIPythonApp] Staging bundled ipython_config.py from sympy into
[homelap-3:~] comerduncan% ipython notebook --profile=sympy
[NotebookApp] Using existing profile dir:
[NotebookApp] The IPython Notebook is running at:
[NotebookApp] Use Control-C to stop this server and shut down all kernels.
[NotebookApp] Using MathJax from CDN
[NotebookApp] Kernel started: d973b640-834d-4f9d-b75f-6cbab060ebd3
[NotebookApp] Connecting to: tcp://
[NotebookApp] Connecting to: tcp://
[NotebookApp] Connecting to: tcp://
[IPKernelApp] To connect another client to this kernel, use:
[IPKernelApp] --existing kernel-d973b640-834d-4f9d-b75f-6cbab060ebd3.json
--profile sympy
[NotebookApp] Using existing kernel: d973b640-834d-4f9d-b75f-6cbab060ebd3
[NotebookApp] Connecting to: tcp://
[NotebookApp] Connecting to: tcp://
[NotebookApp] Connecting to: tcp://
[NotebookApp] Kernel killed: d973b640-834d-4f9d-b75f-6cbab060ebd3

So, it worked!  Thanks for the suggestions.

If I want to use CDN for MathJax (like I do on my blog),  how would I do
that for ipython notebooks?

Thanks again.


On Tue, Jan 10, 2012 at 6:46 PM, Paul Ivanov <pivanov314@gmail.com> wrote:

> Thomas Kluyver, on 2012-01-10 22:37,  wrote:
> > On 10 January 2012 22:33, Comer Duncan <comer.duncan@gmail.com> wrote:
> >
> > > So, while sympy seems to be 'available' only default and iptest
> profiles
> > > are listed as available. How to configure so that sympy (as well as the
> > > others listed) will in fact be found?
> >
> > The design is that all of those profiles are available - the second list
> > represents the ones you've already used. I'm not sure why it's not seeing
> > the sympy profile when you try to use it.
> Actually, I want to confirm the original bug report. Starting the
> notebook for a profile that doesn't exist for the user does not
> create it.
> $ rm -fr  ~/.ipython/profile_sympy/
> $ ipython notebook --profile=sympy
> [NotebookApp] Profile u'sympy' not found.
> $ ipython  --profile=sympy -c "print 1"
> $ ipython notebook --profile=sympy
> The first line just creates a copy of the profile for the user,
> executes a print statement and exists terminal ipython. You'll
> only have to do this once.
> Whenever I try to solve these kinds of issues, either Min or
> Thomas beat me to it, so I won't try to race'em this time ;)
> best,
> --
> Paul Ivanov
> 314 address only used for lists,  off-list direct email at:
> http://pirsquared.org | GPG/PGP key id: 0x0F3E28F7
> _______________________________________________
> IPython-User mailing list
> IPython-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-user/attachments/20120110/a519ad1c/attachment.html 

More information about the IPython-User mailing list