您好,欢迎来到[编程问答]网站首页   源码下载   电子书籍   软件下载   专题
当前位置:首页 >> 编程问答 >> 其他语言 >> pip安装pillow出现unable to initialize frontend: Dialog

pip安装pillow出现unable to initialize frontend: Dialog

来源:网络整理     时间:2016/5/29 0:52:10     关键词:initialize

关于网友提出的“pip安装pillow出现unable to initialize frontend: Dialog”问题疑问,本网通过在网上对“pip安装pillow出现unable to initialize frontend: Dialog”有关的相关答案进行了整理,供用户进行参考,详细问题解答如下:

问题:pip安装pillow出现unable to initialize frontend: Dialog
描述:

The following NEW packages will be installed:
zlib1g-dev
0 upgraded, 1 newly installed, 0 to remove and 62 not upgraded.
Need to get 183 kB of archives.
After this operation, 454 kB of additional disk space will be used.
Get:1 http://cn.archive.ubuntu.com/ubuntu/ trusty/main zlib1g-dev amd64 1:1.2.8.dfsg-1ubuntu1 [183 kB]
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
device initialize,initialize fail,fail to initialize,initialize error,couninitialize,initialize什么意思,cannot initialize,system initialize,mysqld initialize,initialize failed,php initialize,deinitialize,parent initialize,梦三国initialize,oleinitialize


解决方案1:

TERM is not set, so the dialog frontend is not usable

所以你的 TERM 为什么没有设置呢?你是在怎样的环境里操作的?

如果是 GUI 的终端,export TERM=xterm 然后继续;如果在 screen 或者 tmux 里,export TERM=screen 然后继续。

另外,这个问题和 pip、Pillow、Python 都没有关系。它和 Debian、Linux、apt 才有关系。


以上介绍了“pip安装pillow出现unable to initialize frontend: Dialog”的问题解答,希望对有需要的网友有所帮助。
本文网址链接:http://www.codes51.com/itwd/1375477.html

相关图片

相关文章