roLabelImg的win10编译并打包为exe

编程知识 更新时间:2023-04-23 21:10:24

roLabelImg is a graphical image annotation tool can label ROTATED rectangle regions, which is rewrite from 'LabelImg'.

github源码:https://github/cgvict/roLabelImg

win10 + Anaconda3上安装编译:

1.安装python2.7;

1)Anaconda创建python2.7虚拟环境

     conda create py27 python = 2.7

2)激活py27

     conda activate py27

2.安装pyqt4;

pip install PyQt4‑4.11.4‑cp27‑cp27m‑win_amd64.whl,安装比较慢,一直没成功,所以先下载再安装了。

http://www.lfd.uci.edu/~gohlke/pythonlibs

下载PyQt4‑4.11.4‑cp27‑cp27m‑win_amd64.whl保存到本地

pip install d:/PyQt4‑4.11.4‑cp27‑cp27m‑win_amd64.whl

3.安装lxml

pip install lxml

4.安装PyInstaller

pip install pyinstaller

5.切换工作目录至源码目录

pyinstaller -F  -p   C:\ProgramData\Anaconda3\envs\py27\Lib\site-packages;D:\code\roLabelImg-master\libs  labelImg.py

6.运行exe

更多推荐

roLabelImg的win10编译并打包为exe

本文发布于:2023-04-18 02:24:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/b62dcd1b5e4ee75473da1139133f332a.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:roLabelImg   exe

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!

  • 84506文章数
  • 13615阅读数
  • 0评论数