在jupyter notebook 中打开ipynb文件时报错:
File "e:python36libsite-packages raitletsconfigloader.py", line 457, in load_config
self._read_file_as_dict()
File "e:python36libsite-packages raitletsconfigloader.py", line 489, in _read_file_as_dict
py3compat.execfile(conf_filename, namespace)
File "e:python36libsite-packagesipython_genutilspy3compat.py", line 198, in execfile
exec(compiler(f.read(), fname, 'exec'), glob, loc)
File "C:Usersxiaoqiu.ipythonprofile_defaultipython_config.py", line 513, in <module>
c.Completer.greedy = true
NameError: name 'true' is not defined
resolution:
在执行了ipython profile create 命令(激活自动补全的功能)之后 C:Usersxiaoqiu.ipythonprofile_default生成了两个文件
需要修改ipython_config.py文件修改如下三个参数