草庐IT

python - Emacs Python 劣质 shell 在 matplotlib show() 命令后不显示提示

所以我一直在试验numpy和matplotlib,并且在从emacs劣质shell运行python时偶然发现了一些错误。当我将py文件发送到shell解释器时,我可以在代码执行后运行命令。命令提示符“>>>”显示正常。但是,在我在绘图上调用matplotlibshow命令后,shell只是挂起,命令提示符未显示。>>>plt.plot(x,u_k[1,:]);[]>>>plt.show();我正在运行传统的C-python实现。在emacs23.3下,在Win7上使用FabianGallina的Pythonpython.elv.0.23.1。在i-python平台下也有人提出过类似的问

windows - `git difftool` 拒绝在 Emacs 劣质外壳下运行

当我输入gitdifftool时在普通的cygwinshell下,我只收到良性退出:~/sb/ws>gitdifftool~/sb/ws>但是当我在Emacs劣质shell下(运行相同的cygwinbash)键入完全相同的内容时,我收到以下错误:~/sb/ws>gitdifftoolgitdifftoolperl:warning:Settinglocalefailed.perl:warning:Pleasecheckthatyourlocalesettings:LC_ALL=(unset),LANG="ENU"aresupportedandinstalledonyoursystem.p