Beyond Compare是商业软件,下载地址:http://www.scootersoftware.com/download.php。下载完直接运行或者通过dpkg安装即可。
其实Linux下文本比较工具很多,比如Meld。
安装:
sudo apt-get install meld
想要运行直接在命令行中输入meld&,或者绑定在屏幕左侧的Dock栏,直接点击。
@https://blog.csdn.net/ytusdc/article/details/84849518
打开: meld& , 报错如下:
Traceback (most recent call last):
File “/usr/bin/meld”, line 73, in
import meld.conf
ImportError: No module named ‘meld’
google,在第二个链接发现答案,https://stackoverflow.com/questions/50783742/can-not-start-meld-on-ubuntu-16-04-as-error-import-meld-conf
有人回答:
My guess would be that you have changed your system’s default Python version (Python3 instead of Python2). Two possible solutions:
1.Switch back to Python2. You might not want to do this, as there probably was a reason for switching to Python3. Switching back might result in other programs not working as expected. See command update-alternatives for switching the default Python version.
2.Force meld to use Python2. For doing so, open /usr/bin/meld with root rights in a text editor and change the very first line from: #!/usr/bin/python
to: #!/usr/bin/python2
Attention: Whenever meld gets updated, you will have to do that modification again.
看看是不是动了python,在终端下面敲python 如果默认是python3,去usr/bin 目录下面把python软链接改成python2就可以;
或者按照答案的第二种方法把meld文件开头加上一个2,显示的用python2就OK了
@ https://blog.csdn.net/yang332233/article/details/89084481