• <tfoot id='kxyvt'></tfoot>

    • <bdo id='kxyvt'></bdo><ul id='kxyvt'></ul>
    <legend id='kxyvt'><style id='kxyvt'><dir id='kxyvt'><q id='kxyvt'></q></dir></style></legend>

    1. <small id='kxyvt'></small><noframes id='kxyvt'>

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

        向 Windows 添加“DEBUG=1"命令?

        add `DEBUG=1` commands to windows?(向 Windows 添加“DEBUG=1命令?)

          <bdo id='BaI7Q'></bdo><ul id='BaI7Q'></ul>
        • <legend id='BaI7Q'><style id='BaI7Q'><dir id='BaI7Q'><q id='BaI7Q'></q></dir></style></legend>

          1. <tfoot id='BaI7Q'></tfoot>
              <i id='BaI7Q'><tr id='BaI7Q'><dt id='BaI7Q'><q id='BaI7Q'><span id='BaI7Q'><b id='BaI7Q'><form id='BaI7Q'><ins id='BaI7Q'></ins><ul id='BaI7Q'></ul><sub id='BaI7Q'></sub></form><legend id='BaI7Q'></legend><bdo id='BaI7Q'><pre id='BaI7Q'><center id='BaI7Q'></center></pre></bdo></b><th id='BaI7Q'></th></span></q></dt></tr></i><div id='BaI7Q'><tfoot id='BaI7Q'></tfoot><dl id='BaI7Q'><fieldset id='BaI7Q'></fieldset></dl></div>
                <tbody id='BaI7Q'></tbody>
            1. <small id='BaI7Q'></small><noframes id='BaI7Q'>

                • 本文介绍了向 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"命令?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Kivy 1.9.0 Windows package KeyError: #39;rthooks#39;(Kivy 1.9.0 Windows 包 KeyError: rthooks)
                  Python Kivy: how to call a function on button click?(Python Kivy:如何在按钮单击时调用函数?)
                  How to disable a widget in Kivy?(如何禁用 Kivy 中的小部件?)
                  Centering an object in Kivy(在 Kivy 中将对象居中)
                  How to downgrade to Python 3.4 from 3.5(如何从 Python 3.5 降级到 Python 3.4)
                  Change button or label text color in kivy(在kivy中更改按钮或标签文本颜色)

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

                        <small id='hYOcF'></small><noframes id='hYOcF'>

                            <tfoot id='hYOcF'></tfoot>
                              <tbody id='hYOcF'></tbody>

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