Issue
I use two installations of Spyder, one using my default python 2.7 and the other running in a python 3.4 virtualenv. However, the history of the IPython console is shared between the two. The cleanest way to have separate histories would be to define a new IPython profile for the python 3.4 installation. My question is: how to convince Spyder to run IPython with a non-default profile? I could not find any way to supply command line options.
Solution
As mentioned by Carlos' answer, there is no way to start an IPython console inside Spyder with a different profile. A workaround is to duplicate the ~/.ipython directory (I named mine ~/.ipython3) and set the environment variable IPYTHONDIR to the new location before running the python 3 version of Spyder. It will then use the profile_default in the new directory.
Answered By - Rob
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.