traitlets
traitlets copied to clipboard
TypeError: 'LazyConfigValue' object is not iterable
I am trying to install IPython on my MacBook with OS X 10.8.5.
I've tried using pip to install IPython with all its dependencies, and have encountered the appended error when trying to start IPython.
I've also tried a quarantined install in a virtualenv, and have found the same error so I know that its not a problem with conflicting versions.
Any thoughts/suggestions on how to fix this problem?
Error:
Traceback (most recent call last):
File "/Users/frank/_notebook/bin/ipython", line 11, in
In my opinion , i thought u didn't have enough modules to support the first version, or u got wrong lib in wrong files, it didn't get right files address to get traitlets modules.Try to use your hands to copy default files into.Drop the auto-install.
I've discussed this with the developer of traitlets, and we managed to trace the issue back to a custom config file that I had from a previous version. The solution was to get rid of the config option in the jupyter and ipython config files, and to change inlineBackend to InlineBackend, since this is now case-sensitive. Small fix for an obscure error.
Super weird - that should have always been case sensitive. Can you share a config file that works in IPython 3 and doesn't in IPython 4?
Well, there were only two lines that were active in the old config file:
c = get_config()
c.inlineBackend.close_figures = False
Interesting. That never should have worked, I will investigate why the failure mode has changed.