zoukankan      html  css  js  c++  java
  • 安装运行jupyter notebook时报错:ModuleNotFoundError: No module named 'prompt_toolkit.formatted_text'

    pip3 install --upgrade prompt-toolkit==2.0.4
    abc:数据分析 mac126$ pip3 install --upgrade prompt-toolkit==2.0.4
    Collecting prompt-toolkit==2.0.4
      Downloading https://files.pythonhosted.org/packages/91/ef/f4010d53dbd736c47e78d2226b12ab446bbe0ce66616d0b92d51d8a15fe4/prompt_toolkit-2.0.4-py3-none-any.whl (328kB)
        100% |████████████████████████████████| 337kB 120kB/s 
    Requirement already satisfied, skipping upgrade: wcwidth in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from prompt-toolkit==2.0.4) (0.1.7)
    Requirement already satisfied, skipping upgrade: six>=1.9.0 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from prompt-toolkit==2.0.4) (1.11.0)
    py2neo 4.1.3 has requirement prompt_toolkit==1.0.15, but you'll have prompt-toolkit 2.0.4 which is incompatible.
    Installing collected packages: prompt-toolkit
      Found existing installation: prompt-toolkit 1.0.15
        Uninstalling prompt-toolkit-1.0.15:
          Successfully uninstalled prompt-toolkit-1.0.15
    问题原因:
    
    jupyter-console 5.2.0 has requirement prompt-toolkit<2.0.0,>=1.0.0, but you'll have
    
    prompt-toolkit 2.0.4 which is incompatible.
  • 相关阅读:
    Beta冲刺
    Beta冲刺总结随笔
    用户使用调查报告
    Beta冲刺测试随笔
    WeChair项目Beta冲刺(10/10)
    WeChair项目Beta冲刺(9/10)
    WeChair项目Beta冲刺(8/10)
    WeChair项目Beta冲刺(7/10)
    WeChair项目Beta冲刺(6/10)
    WeChair项目Beta冲刺(5/10)
  • 原文地址:https://www.cnblogs.com/liangliangzz/p/10287576.html
Copyright © 2011-2022 走看看