Saturday, 15 May 2010

shell - can not find ipy_user_conf.py for Enthought python -



shell - can not find ipy_user_conf.py for Enthought python -

i have epd. utilize ipython shell. think it's called 'pylab' in distribution. able append scheme path ($pythonpath) @ moment when shell loads. unfortunately, can not seem locate ipy_user_conf.py file many users on net study need include line that. please help!!!

i'm going guess you're running ipython >= 0.11. (note ipython version displayed when starting ipython shell.)

older versions of ipython (pre-0.11) used ipy_user_conf.py, ipython's configuration scheme overhauled in 0.11. details, see this overview. if want run code on start up, can add together python file in ipython startup directory, should here:

~/.ipython/profile_default/startup/

any python code in directory gets run on startup, can create new .py modify python path. if startup directory doesn't exist, may need run:

ipython profile create

which creates directories (plus other goodies).

shell configuration enthought

No comments:

Post a Comment