Which ipython_config.py is used to configure IPython for Python Console?

Answered
If I start the Python Console in PyCharm IPython is started perfectly. But I can't find out how to tell thsi IPython to execute an ipython_config like it does if externally started. get_ipython().profile
says: 'default' and I can see that history.sqlite is updated in my home/.ipython/profile_default but the ipython_config.py in the same place is not used. E.g. I have "c.InteractiveShellApp.extensions = ['autoreload']" in there but it's not available in the Python Console.

I would prefer using a ipython_config.py over adding something to the PyCharm settings for the console.

(IPython 2.3.0 in WinPython 3.4.2.1)

Any Ideas?
Thanks, Thomas
2 comments
Comment actions Permalink

It's an old topic but I cannot find anything else on the web and I would like to solve this as well.

Currently on 
PyCharm 2017.2

Checking in iPython console itsself it shows the proper configuration dir in my homefolder:

get_ipython().profile_dir
Out[16]: <IPython.core.profiledir.ProfileDir at 0x10e4414a8>

_.location
Out[17]: '/Users/maarten/.ipython/profile_default'

But it is not loading the modules (which it is doing properly when used from a notebook, or interactive shell outside pycharm)

Any ideas/help/comments ??
Thanks!

0
Comment actions Permalink

Unfortunately, it's not supported yet, please vote for https://youtrack.jetbrains.com/issue/PY-14631 to increase its priority and be notified about updates.

0

Please sign in to leave a comment.