[IPython-User] ipython drops into python prompt
Thu Sep 19 10:55:58 CDT 2013
I've scrapped the virtualenv and reinstalled everything from scratch. I
don't see this issue any more. I'm guessing it was an artifact of trying
to update the ipython or python version without recreating the virtualenv.
Thanks for the help,
On 19/09/13 08:32, John Reid wrote:
> It is running
> which looks like (after upgrading this morning to 1.1.0):
> # EASY-INSTALL-ENTRY-SCRIPT: 'ipython==1.1.0','console_scripts','ipython'
> __requires__ = 'ipython==1.1.0'
> import sys
> from pkg_resources import load_entry_point
> if __name__ == '__main__':
> load_entry_point('ipython==1.1.0', 'console_scripts', 'ipython')()
> but I still get the same symptoms of dropping into a different prompt.
> On 18/09/13 20:30, Fernando Perez wrote:
>> Most certainly. Check to see what command is actually running when you
>> run 'ipython', because that doesn't look like our startup script at
>> On Wed, Sep 18, 2013 at 11:46 AM, John Reid <email@example.com> wrote:
>>> 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@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.
>>> File "<console>", line 1
>>> SyntaxError: invalid syntax
>>> In : %run
>>> WARNING: you must provide at least a filename.
>>> IPython-User mailing list
More information about the IPython-User