PyCharm (4.5.4) starts console running iPython
Running Python 2.7.10_2, installed via Homebrew on OSX 10.9, with iPython installed via PIP.
The setup was running fine (with Python path set to Homebrew installation in Usr/local/bin until I installed iPython via PIP. Now when starting the console in PyCharm is loads Python then load iPython giving me it's command line. It does not do this when starting Python from the Terminal, rather, it just loads Python.
I can not figure out how to get the console to just load python without then loading iPython. Any help or suggestions would be greatly appreciated.
Cheers,
Jason
The setup was running fine (with Python path set to Homebrew installation in Usr/local/bin until I installed iPython via PIP. Now when starting the console in PyCharm is loads Python then load iPython giving me it's command line. It does not do this when starting Python from the Terminal, rather, it just loads Python.
I can not figure out how to get the console to just load python without then loading iPython. Any help or suggestions would be greatly appreciated.
Cheers,
Jason
Please sign in to leave a comment.
if 'IPYTHONENABLE' in os.environ:
IPYTHON = os.environ['IPYTHONENABLE'] == 'True'
else:
IPYTHON = True
try:
try:
exitfunc = sys.exitfunc
except AttributeError:
exitfunc = None
if IPYTHON:
from pydev_ipython_console import InterpreterInterface
if exitfunc is not None:
#sys.exitfunc = exitfunc
else:
try:
delattr(sys, 'exitfunc')
except:
pass
except:
IPYTHON = False
pass