I'm trying to use inferior python shell to run ipython commands interactively. I am able to connect but it doesn't print the results of my statements except when I use print statements

In [1]: a = 10

In [5]: a

In [6]: a.real

In [12]: print "hello"

I am using the latest version of spacemacs with the Python layer and the following user configuration settings:

(setq python-shell-completion-native-enable nil)
(setq python-shell-interpreter "ipython")
(setq python-shell-interpreter "python.exe"
    "-i c:\\Users\\me\\AppData\\Local\\Continuum\\Anaconda2\\Scripts\\ipython-script.py")

Thanks in advance!

  • I have exactly the same problem (with Ipython 7.13.0), and found no solution. Can anyone tell if there is a way to fix this problem?
    – thibault
    Mar 12, 2020 at 12:13

1 Answer 1


Actually, the problem seems to be on the iPython side. Upgrading to 5.1.0 fixed the problem, both with Anaconda iPython or MSYS2 iPython.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.