window下安装labelme方法

承接上篇,在安装好tensorflow后,电脑需要安装labelme,网上搜索了很多的教程,本以为会很容易,没想到又是频频报错,很苦恼,尝试了很多的办法还是报错,在反复的尝试中,结合上次安装tensorflow的教训,我认为是网络的问题,下面先写安装的步骤吧,

1、参考以下文章安装时https://www.e-learn.cn/content/python/318165,总是进度条走百分之几,就出下面的错误

信息显示超时,按照下面的方法:pip --default-timeout=100 install -U Pillow,还是会出同样的错误。在尝试了几次后,感觉是网络的问题,就去找镜像安装。

2、镜像安装,速度非常快,清华镜像网址:https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/)

(1)打开anaconda命令行工具Anaconda Prompt,首先改成连接清华镜像:conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/

 conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/

 conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/

 conda config --set show_channel_urls yes
(2)输入:conda create --name=labelme python=3.5(备注:我的电脑python版本是3.5)。

    激活labelme命令:activate labelme

    安装pyqt5:pip install pyqt5 -i https://pypi.mirrors.ustc.edu.cn/simple

    安装pillow:pip install pillow==4.0.0 -i https://pypi.mirrors.ustc.edu.cn/simple

    安装labelme:pip install labelme -i https://pypi.mirrors.ustc.edu.cn/simple

安装过程图片,整个过程也就持续两分钟,

(3)打开labelme

输入activate labelme后,再次输入labelme即可。

猜你喜欢

转载自blog.csdn.net/qq_34585338/article/details/84776981
今日推荐