This is somewhat the intended behaviour. The iPython documentation (file:///usr/share/doc/ipython/manual/html/config/index.html) describes two ways of handling configuration:
The file .ipython/ipythonrc must *exist*; if it doesn't, the traceback you see is produced. However, it is possible to run iPython perfectly well with an *empty* ipythonrc file, doing all configuration through ipy_user_conf.py.
There is an example of this file on your system at /usr/share/pyshared/IPython/UserConfig/ipy_user_conf.py (Ubuntu 9.10) — or type "locate ipy_user_conf.py" to find it. The line "import ipy_defaults" in this file establishes the iPython features you are used to.
I think the bug here is that iPython should treat a missing ipythonrc the same as an empty one, so I'm changing the title.
This is somewhat the intended behaviour. The iPython documentation (file:/ //usr/share/ doc/ipython/ manual/ html/config/ index.html) describes two ways of handling configuration:
* Old: .ipython/ipythonrc, .ipython/ ipythonrc- PROFILENAME ipy_user_ conf.py, .ipython/ ipy_profile_ PROFILENAME. py
* New: .ipython/
The file .ipython/ipythonrc must *exist*; if it doesn't, the traceback you see is produced. However, it is possible to run iPython perfectly well with an *empty* ipythonrc file, doing all configuration through ipy_user_conf.py.
There is an example of this file on your system at /usr/share/ pyshared/ IPython/ UserConfig/ ipy_user_ conf.py (Ubuntu 9.10) — or type "locate ipy_user_conf.py" to find it. The line "import ipy_defaults" in this file establishes the iPython features you are used to.
I think the bug here is that iPython should treat a missing ipythonrc the same as an empty one, so I'm changing the title.