图像标注工具labelImg安装方法(win10+Python3.5)
系统环境:win10 64位,Python3.5。
1、下载源码
https://github.com/tzutalin/labelImg, download之后,解压。
2、安装Python3.5
3、安装PyQt5
进入cmd后,输入: pip install PyQt5
如果因为网络问题一直安装不了, 就去这个网站 https://pypi.python.org/pypi/PyQt5/5.8.2下载whl文件
下载后直接安装, 输入命令 :pip install XXX.whl
4、安装PyQt5_tools
同上,执行命令: pip install pyqt5-tools, 如下图,同样会网络原因安装失败,
得到文件名称pyqt5_tools-5.8.2.1.0rc2-cp35-none-win_amd64.whl, 百度下载,链接 https://pypi.python.org/pypi/pyqt5-tools, 下载后直接安装, 命令 :pip install XXX.whl
5、安装lxml
命令:pip install lxml, 如下图:
由于lxml文件很小,一般可以安装成功,不行的话,同上述方法,下载whl文件再pip安装。
6、pyrcc编译资源文件
进入到labelImg解压后的文件,我这里是labelImg-master.
执行命令: pyrcc5 -o resources.py resources.qrc
这是个转换命令,把Qt文件格式转为Python格式。
7、打开labelImg.py
直接在命令窗口中,输入 python labelImg.py
全文结束。
--------------------------------------------------
错误1. qt.qpa.plugin: Could not find the Qt platform plugin "windows" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
解决方法: 在https://tzutalin.github.io/labelImg/ 上下载一个win版本的 然后通过这个启动就没问题了
错误2:UnicodeEncodeError: 'ascii' codec can't encode characters in position 13-14: ordinal not in range(128)
解决方法: 文件路径中绝对不要出现中文,
阅读更多- 图像标注工具labelImg安装方法(win10 + Python3.5)
- 图像标注工具labelImg安装方法(win10+Python3.5)
- python3.5+windows10 安装labelImg图像处理工具
- win10 + python3.5+tensorflow+各种依赖库的安装方法
- Mac下图像标注工具labelImg的安装
- Mac安装图像标注工具labelImg
- [置顶] 图像标注工具labelImg安装教程 Ubuntu16.04和win7
- 安装ElasticSearch搜索工具并配置Python驱动的方法
- window系统下 python3.5安装lxml-3.5.0 方法
- CentOS 6.4安装pip,CentOS安装python包管理安装工具pip的方法
- CentOS 6.4安装pip,CentOS安装python包管理安装工具pip的方法
- win10下基于python3.5安装scrapy教程
- windows+python3.5环境下安装selenium后无法导入webdriver的解决方法
- python7--win10下python3.5安装scrapy
- WIN10 NET. framework 3.5安装方法
- Win10离线安装.NET Framework 3.5的方法
- 安装ElasticSearch搜索工具并配置Python驱动的方法
- Scrapy 1.2 + Python 3.5 在 Windows 上的安装方法
- CentOS 6.4安装pip,CentOS安装python包管理安装工具pip的方法
- 转: CentOS 6.4安装pip,CentOS安装python包管理安装工具pip的方法