ubuntu---对比工具Meld
2024-08-21 07:53:58
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 , 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:
.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.
.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
最新文章
- PHP以接口方式实现多重继承(完全模拟)--学习笔记
- Ubuntu——apt &;&; dpkg参考
- 关于html5新增的功能(百度)
- java对cookie的操作
- 搭建JavaWeb服务器
- INSTALL_FAILED_INSUFFICIENT_STORAGE
- Android 在内部存储读写文件
- C语言知识总结(3)
- HIbernate学习笔记(一) 了解hibernate并搭建环境建立第一个hello world程序
- 节点的创建--对比jQuery与JavaScript 方法
- BAT互联网公司是如何内部推荐的?
- bzoj3669: [Noi2014]魔法森林 lct
- inux网卡与MAC地址绑定方法总结
- LeetCode 327. Count of Range Sum
- bzoj千题计划322:bzoj2561: 最小生成树(最小割)
- slackware在vagrant中使用
- Daily Scrum NO.9
- 数学之美——HMM模型(一)介绍
- pg3 bypass源码阅读 —— 学习x64内核hook跳板技术
- Docker容器(三)
热门文章
- 编写vscode插件
- [LeetCode] 204. Count Primes 计数质数
- [LeetCode] 380. Insert Delete GetRandom O(1) 插入删除获得随机数O(1)时间
- 高级UI-画板Canvas
- PHP阿里大于发短信教程
- jquery鼠标经过弹出层写法
- [转帖]Linux中的find(-atime、-ctime、-mtime)指令分析
- Spring Boot之从Spring Framework装配掌握SpringBoot自动装配
- 2019/7/18ACM集训
- ArcGIS Server SOE地图服务重启特别卡