[Tutor] Issue with running iPython

Alan Gauld alan.gauld at yahoo.co.uk
Sun Jun 12 07:04:46 EDT 2022


On 12/06/2022 05:10, Anmol Sharma wrote:

> And then I just load ipython and without even writing any line of code, I
> just press enter 2-3 times and I get this error -
> 
> (base) C:\Users\03987N744\Training_notebook>ipython -i --no-banner
> enumerate_vs_range.py

What happens if you start ipython without the enumerate_vs_range.py
file? Does it work OK then?

And what happens if you start it without the -i and --no_banner flags?
That might help isolate where the error is coming from.

-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos




More information about the Tutor mailing list