Tag Archives: NameError: name ‘true’ is not defined

NameError: name ‘true’ is not defined when opening ipynb file in jupyter notebook

Geeks, please accept the hero post of 2021 Microsoft x Intel hacking contest>>>

Error in opening ipynb file in jupyter Notebook:

File "e:\python36\lib\site-packages\traitlets\config\loader.py", line 457, in load_config
    self._read_file_as_dict()
  File "e:\python36\lib\site-packages\traitlets\config\loader.py", line 489, in _read_file_as_dict
    py3compat.execfile(conf_filename, namespace)
  File "e:\python36\lib\site-packages\ipython_genutils\py3compat.py", line 198, in execfile
    exec(compiler(f.read(), fname, 'exec'), glob, loc)
  File "C:\Users\xiaoqiu\.ipython\profile_default\ipython_config.py", line 513, in <module>
    c.Completer.greedy = true
NameError: name 'true' is not defined

resolution:

After executing the IPython profile create command (to activate the automatic completion function), C:: (users/Xiaoqiu). IPython profile_ Default generates two files

IPython needs to be modified_ The config. Py file is modified with the following three parameters