[IPython-User] ipython drops into python prompt

Fernando Perez fperez.net@gmail....
Wed Sep 18 14:30:39 CDT 2013


Most certainly. Check to see what command is actually running when you
run 'ipython', because that doesn't look like our startup script at
all...

On Wed, Sep 18, 2013 at 11:46 AM, John Reid <j.reid@mail.cryst.bbk.ac.uk> wrote:
> Hi,
>
> I'm using ipython in a virtualenv and when I start it from the command
> line it drops me into a python style prompt (see below) from which I
> must Ctrl-D before I get to the IPython prompt. Have I misconfigured
> something? Also when I run a script I also have to Ctrl-D to remove this
> initial prompt. Any help appreciated....
>
> John.
>
>
> john@dufay$ ipython
> Activating auto-logging. Current session state plus future input saved.
> Filename       : ipython_log.py
> Mode           : append
> Output logging : False
> Raw input log  : False
> Timestamping   : False
> State          : active
> Python 2.7.3 (default, Aug  1 2012, 05:14:39)
> Type "copyright", "credits" or "license" for more information.
>
> IPython 1.0.0 -- An enhanced Interactive Python.
> ?         -> Introduction and overview of IPython's features.
> %quickref -> Quick reference.
> help      -> Python's own help system.
> object?   -> Details about 'object', use 'object??' for extra details.
>
>>>> %run
>   File "<console>", line 1
>     %run
>     ^
> SyntaxError: invalid syntax
>>>>
>
> In [1]: %run
> WARNING: you must provide at least a filename.
>
>
> _______________________________________________
> IPython-User mailing list
> IPython-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-user



-- 
Fernando Perez (@fperez_org; http://fperez.org)
fperez.net-at-gmail: mailing lists only (I ignore this when swamped!)
fernando.perez-at-berkeley: contact me here for any direct mail


More information about the IPython-User mailing list