IPython console can't locate “backports.shutil_get_terminal_size” and won't load

后端 未结 7 1774
别那么骄傲
别那么骄傲 2020-12-24 03:21

I\'m running Python2.7 on windows 10 doing env and most pkg management with Anaconda. After upgrading a number of packages, my ipython console now fails to start in any IDE

相关标签:
7条回答
  • 2020-12-24 03:52

    In case this helps anybody, the problem for me seemed to be having installed configparser with pip locally, and then trying to install everything else using conda. To fix:

    pip uninstall configparser
    # You may need to install configparser now using conda...
    ipython
    # No ImportError now.
    

    It seems like the configparser install puts a backports package in the import namespace, which took precedence over the conda installed package.

    0 讨论(0)
提交回复
热议问题