Hi Marcel, On 1 August 2017 at 09:27, <[email protected]> wrote:
> After upgrading my Fedora installation to F26, I notice that ipython now > seems to call jupyter directly which does not have the concept of profiles > any more, as can be found via google relatively quickly. > IPython, the terminal interface, still works the way it used to: you should be able to use your profile there. I don't think we ship a sympy profile any more (I had forgotten we ever did that), but if you work out the configuration it needs, you should be able to make a profile with 'ipython profile create sympy', and modify the config file it creates. The IPython frontends which talk to a kernel (the notebook, qtconsole and two-process terminal console) all became Jupyter applications, so they don't directly support profiles. > What I miss, however, is a canonical replacement for --profile="sympy" as > a standard profile. It used to set up pretty printing, loading sympy and > pre-define a few variable names, all pretty convenient. However, the > profile is now completely gone from my system. I could probably dig up > some old version on the internet or try to handwrite one myself, but there > should be a standard replacement mechanism for this? > Sympy has some functions you can call at the start of a session to set up some amount of integration: http://docs.sympy.org/latest/tutorial/printing.html#setting-up-pretty-printing We recommend this kind of approach for use in notebooks particularly, because notebooks which rely on things configured on your computer won't be easily runnable for anyone without that config. But if that's not enough for you, and you have your sympy profile set up, you can create a dedicated sympy kernel which will launch IPython with your sympy profile. You'll need to install a kernelspec ( http://ipython.readthedocs.io/en/stable/install/kernel_install.html), and then manually modify the kernel.json file to add --profile sympy to the argv. Best wishes, Thomas -- 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/CAOvn4qgC8Y2eh6KOuYButgsJAyDKEJ1ZFJVeBK6WFcwryT22oA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
