• <small id='R6ylM'></small><noframes id='R6ylM'>

      1. <legend id='R6ylM'><style id='R6ylM'><dir id='R6ylM'><q id='R6ylM'></q></dir></style></legend>
      2. <i id='R6ylM'><tr id='R6ylM'><dt id='R6ylM'><q id='R6ylM'><span id='R6ylM'><b id='R6ylM'><form id='R6ylM'><ins id='R6ylM'></ins><ul id='R6ylM'></ul><sub id='R6ylM'></sub></form><legend id='R6ylM'></legend><bdo id='R6ylM'><pre id='R6ylM'><center id='R6ylM'></center></pre></bdo></b><th id='R6ylM'></th></span></q></dt></tr></i><div id='R6ylM'><tfoot id='R6ylM'></tfoot><dl id='R6ylM'><fieldset id='R6ylM'></fieldset></dl></div>
        • <bdo id='R6ylM'></bdo><ul id='R6ylM'></ul>
        <tfoot id='R6ylM'></tfoot>
      3. 向 Windows 添加“DEBUG=1"命令?

        时间:2023-10-10
          <tbody id='RAqW9'></tbody>
      4. <small id='RAqW9'></small><noframes id='RAqW9'>

        • <bdo id='RAqW9'></bdo><ul id='RAqW9'></ul>
          <i id='RAqW9'><tr id='RAqW9'><dt id='RAqW9'><q id='RAqW9'><span id='RAqW9'><b id='RAqW9'><form id='RAqW9'><ins id='RAqW9'></ins><ul id='RAqW9'></ul><sub id='RAqW9'></sub></form><legend id='RAqW9'></legend><bdo id='RAqW9'><pre id='RAqW9'><center id='RAqW9'></center></pre></bdo></b><th id='RAqW9'></th></span></q></dt></tr></i><div id='RAqW9'><tfoot id='RAqW9'></tfoot><dl id='RAqW9'><fieldset id='RAqW9'></fieldset></dl></div>

            <legend id='RAqW9'><style id='RAqW9'><dir id='RAqW9'><q id='RAqW9'></q></dir></style></legend>

                <tfoot id='RAqW9'></tfoot>

                1. 本文介绍了向 Windows 添加“DEBUG=1"命令?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  我正在尝试使用 kaki带有 kivy 和 python 的库,但要使用它,您需要运行

                  I'm trying to use kaki library with kivy and python but to use it you need to run

                  DEBUG=1 python main.py
                  

                  但我遇到了这个错误

                  DEBUG=1 : The term 'DEBUG=1' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that 
                  the path is correct and try again.
                  At line:1 char:1
                  + DEBUG=1 python main.py
                  + ~~~~~~~
                      + CategoryInfo          : ObjectNotFound: (DEBUG=1:String) [], CommandNotFoundException
                      + FullyQualifiedErrorId : CommandNotFoundException
                  
                  
                  

                  但我可以找到有关如何将此命令添加到我的路径的任何来源

                  but I can find any source about how to add this command to my path

                  我正在使用

                  python:3.7
                  窗户 10

                  python:3.7
                  windows 10

                  如果需要,我会添加任何信息

                  I will add any information if need it

                  推荐答案

                  在 PowerShell 中,您可以写入将由子进程继承的环境变量,如下所示:

                  In PowerShell, you can write to an environment variable which will be inherited by child processes, like this:

                  PS ~> $env:DEBUG = 1
                  PS ~> python main.py
                  

                  或者作为一行中的两个语句:

                  Or as two statements on a single line:

                  $env:DEBUG = 1; python main.py
                  

                  Python 现在在解析 DEBUG 环境变量时将获得值 1

                  Python will now get the value 1 when resolving the DEBUG environment variable

                  cmd.exe中可以使用set关键字:

                  C:> set "DEBUG=1" && python main.py
                  

                  这篇关于向 Windows 添加“DEBUG=1"命令?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:在 python 端的 kivy 中分配 id 下一篇:Kivy:如何将画布用于在 python 中创建的小部件

                  相关文章

                  最新文章

                  <tfoot id='9FLF8'></tfoot>

                    <i id='9FLF8'><tr id='9FLF8'><dt id='9FLF8'><q id='9FLF8'><span id='9FLF8'><b id='9FLF8'><form id='9FLF8'><ins id='9FLF8'></ins><ul id='9FLF8'></ul><sub id='9FLF8'></sub></form><legend id='9FLF8'></legend><bdo id='9FLF8'><pre id='9FLF8'><center id='9FLF8'></center></pre></bdo></b><th id='9FLF8'></th></span></q></dt></tr></i><div id='9FLF8'><tfoot id='9FLF8'></tfoot><dl id='9FLF8'><fieldset id='9FLF8'></fieldset></dl></div>

                      <bdo id='9FLF8'></bdo><ul id='9FLF8'></ul>
                    1. <small id='9FLF8'></small><noframes id='9FLF8'>

                      <legend id='9FLF8'><style id='9FLF8'><dir id='9FLF8'><q id='9FLF8'></q></dir></style></legend>