简体   繁体   English

无法从 Anaconda 启动 labelme

[英]Cannot launch labelme from Anaconda

I installed the program "labelme" via Anaconda using the commands from the labelme github我使用 labelme github 中的命令通过 Anaconda 安装了程序“labelme”

    # python3
    conda create --name=labelme python=3.6
    source activate labelme
    # conda install -c conda-forge pyside2
    # conda install pyqt
    pip install pyqt5  # pyqt5 can be installed via pip on python3
    pip install labelme

Then, as I was told by another user, I closed the window, reopened and ran the following command:然后,正如另一个用户告诉我的那样,我关闭了窗口,重新打开并运行了以下命令:

    conda activate labelme

Then, as I was also told, I typed "labelme" and ran that as a command.然后,正如我被告知的那样,我输入了“labelme”并将其作为命令运行。 I got the following error:我收到以下错误:

    'labelme' is not recognized as an internal or external command, operable program or batch file.                 

I have tried reinstalling labelme after updating anaconda and pip.我尝试在更新 anaconda 和 pip 后重新安装 labelme。 I have searched other methods of opening labelme, but I couldn't find anything.我搜索了其他打开labelme的方法,但找不到任何东西。

Labelme is supposed to open as a separate GUI window Labelme 应该作为单独的 GUI 窗口打开

After installing labelme as you have done following its documentation, just type these commands in the Anaconda Prompt and it will open the labelme GUI:按照其文档安装 labelme 后,只需在 Anaconda Prompt 中键入这些命令,它将打开 labelme GUI:

activate labelme
labelme 

I had a same problem with you.我和你有同样的问题。 Probably, labelme was not installed yet.可能,labelme 还没有安装。 After typing the codes conda create --name=labelme python=3.6 conda activate labelme , you have to type the code pip install labelme输入代码conda create --name=labelme python=3.6 conda activate labelme ,您必须输入代码pip install labelme

Then, the install of labelme will start.然后,将开始安装 labelme。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM