1

启动 iPython 时出现一个奇怪的错误。我在跑雪豹

WARNING: Configuration file ipythonrc not found. Ignoring request.
------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Python/2.6/site-packages/IPython/ConfigLoader.py", line 66, in load
    fname = filefind(fname,incpath)
  File "/Library/Python/2.6/site-packages/IPython/genutils.py", line 555, in filefind
    ' not found in current or supplied directories:' + `alt_dirs`
IOError: File'ipythonrc' not found in current or supplied directories:u'/Users/admin_mcadminson/.ipython'

WARNING: Problems loading configuration file 'ipythonrc'
Starting with default -bare bones- configuration.

这是以下错误消息:

ImportError                               Traceback (most recent call last)

/Library/Python/2.6/site-packages/IPython/ipmaker.pyc in force_import(modname, force_reload)
     61         reload(sys.modules[modname])
     62     else:
---> 63         __import__(modname)
     64         
     65 

ImportError: No module named ipy_user_conf
WARNING: /Users/admin_mcadminson/.ipython/ipy_user_conf.py does not exist, please run %upgrade!
WARNING: Loading of ipy_user_conf failed.
4

2 回答 2

2

您的 IPython 版本似乎已过时,因为 IPython 不再使用ipythonrc文件进行配置。你可能应该升级它

不过,在你这样做之前,你可能应该考虑将你的python 安装升级到 2.7,因为你使用的是 2.6。

于 2013-03-06T18:03:54.660 回答
0

找不到文件路径,因此您可以手动创建带有路径的文件以/Users/admin_mcadminson/.ipython/ipythonrc绕过检查。不过,我也建议将 ipython 更新为长期解决方案。

于 2017-06-30T07:50:16.347 回答