此处提示 ERROR: jupyter-console 6.4.3 has requirement prompt-toolkit!=3.0.0,! =3.0.1,<3.1.0,>=2.0.0, but you'll have prompt-toolkit 1.0.15 which is incompatible. ERROR: ipython 7.16.3 has requirement prompt-toolkit!=3.0.0,! =3.0.1,<3.1.0,>=2.0.0, but you'll have prompt-toolkit 1.0.15 which is incompatible. 因而进行安装 pip install prompt-toolkit==3.0.20 恢复正常 发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/174957.html原文链接
\001_develop\022_python\python37_64\lib\site-packages (from frida-tools==5.1.0) (12.7.5) Collecting prompt-toolkit Installing collected packages: colorama, wcwidth, six, prompt-toolkit, pygments, frida-tools Running
Requirement already satisfied: setuptools>=18.5 in /usr/lib/python3.6/site-packages (from ipython) Collecting prompt-toolkit = "win32"->ipython) Downloading ptyprocess-0.5.2-py2.py3-none-any.whl Collecting six>=1.9.0 (from prompt-toolkit <2.0.0,>=1.0.4->ipython) Downloading six-1.11.0-py2.py3-none-any.whl Collecting wcwidth (from prompt-toolkit collected packages: pickleshare, pygments, simplegeneric, ptyprocess, pexpect, decorator, six, wcwidth, prompt-toolkit
Requirement already satisfied: setuptools>=18.5 in /usr/lib/python3.6/site-packages (from ipython) Collecting prompt-toolkit = "win32"->ipython) Downloading ptyprocess-0.5.2-py2.py3-none-any.whl Collecting six>=1.9.0 (from prompt-toolkit <2.0.0,>=1.0.4->ipython) Downloading six-1.11.0-py2.py3-none-any.whl Collecting wcwidth (from prompt-toolkit collected packages: pickleshare, pygments, simplegeneric, ptyprocess, pexpect, decorator, six, wcwidth, prompt-toolkit
kubestriker.git 切换至项目目录: $ cd kubestriker 安装依赖组件: $ pip install -r requirements.txt 避免弹出错误提醒: $ pip install prompt-toolkit 虚拟环境: $ source env/bin/activate 使用pip安装Kubestriker: $ pip install kubestriker 避免弹出错误提醒: $ pip install prompt-toolkit
AutoSuggestFromHistory(), completer=SQLCompleter, ) print(user_input) 再次,我们只需使用一个名为 WordCompleter 的 prompt-toolkit 这样就定义了一个完成器,而不是 prompt-toolkit 附带的 WordCompleter。 现在你还有什么理由写不出一个优秀的命令行应用程序呢,这里有一些可能有帮助的资源: Click (命令行界面创建工具包) 模糊搜索 提示工具包 请参阅 Prompt Toolkit 教程和 prompt-toolkit
40.6.3-py2.py3-none-any.whl (573kB) 100% |████████████████████████████████| 573kB 28kB/s Collecting prompt-toolkit 605c2cc68a9992d18dada28206eeada56ea4bd07a239669da41674648b6f/ptyprocess-0.6.0-py2.py3-none-any.whl Collecting wcwidth (from prompt-toolkit backports.shutil-get-terminal-size, simplegeneric, pygments, ptyprocess, pexpect, setuptools, wcwidth, prompt-toolkit
install traitlets pip install pygments pip install pexpect pip install pickleshare pip install prompt-toolkit
可以直接升级 prompt_toolkit 到最新版本(应该 >= 3.0.18)来解决这个问题: pip install -U prompt_toolkit 或者降级到 2.x: pip install prompt-toolkit
h11==0.14.0 httpcore==1.0.2 httpx==0.25.2 idna==3.6 markdown-it-py==3.0.0 mdurl==0.1.2 openai==1.3.5 prompt-toolkit
parso 0.6.1 pexpect 4.8.0 pickleshare 0.7.5 pip 10.0.1 prompt-toolkit ipython==7.12.0 ipython-genutils==0.2.0 jedi==0.16.0 parso==0.6.1 pexpect==4.8.0 pickleshare==0.7.5 prompt-toolkit
71 prompt-toolkit==3.0.43 prompt-toolkit 命令提示工具 创建命令行界面的Python库,支持自动补全等功能。
frida-kill, frida-trace, and frida-discover, you need Python plus a few packages: pip3 install colorama prompt-toolkit
opencv-python==3.3.0.10 pandocfilters==1.4.2 parso==0.1.0 pexpect==4.2.1 pickleshare==0.7.4 Pillow==4.3.0 prompt-toolkit
rpds-py, rfc3986-validator, pyzmq, pyyaml, pywinpty, python-json-logger, pygments, pycparser, psutil, prompt-toolkit
2.2.0 prettytable 2.0.0 prometheus-client 0.8.0 prompt-toolkit
3.5.1-py2.py3-none-any.whl (2.2 MB) |████████████████████████████████| 2.2 MB 595 kB/s Collecting prompt-toolkit traitlets, tornado, python-dateutil, pyzmq, pywin32, jupyter-core, jupyter-client, pickleshare, wcwidth, prompt-toolkit
prompt_toolkit版本太高 jupyter-console 5.2.0 has requirement prompt_toolkit<2.0.0,>=1.0.0, but you'll have prompt-toolkit
/anaconda3/lib/python3.8/site-packages (from line_profiler) (7.19.0) Requirement already satisfied: prompt-toolkit Requirement already satisfied: wcwidth in /home/dechin/anaconda3/lib/python3.8/site-packages (from prompt-toolkit
pexpect=4.8.0=pyhd3eb1b0_3 - pickleshare=0.7.5=pyhd3eb1b0_1003 - pip=21.2.2=py37h06a4308_0 - prompt-toolkit